Created
July 9, 2026 19:55
-
-
Save nathanpogue6/18e732fb808aae7a8119afdb7edd49b9 to your computer and use it in GitHub Desktop.
Inbound Patient Appointment Agent - Check SMS Verification Tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "webhook", | |
| "name": "check_SMS_verification", | |
| "description": "Check whether the caller's spoken OTP is valid in Twilio Verify.", | |
| "disable_interruptions": false, | |
| "interruption_mode": "allow", | |
| "force_pre_tool_speech": false, | |
| "pre_tool_speech": "auto", | |
| "tool_call_sound": "typing", | |
| "tool_call_sound_behavior": "always", | |
| "tool_error_handling_mode": "auto", | |
| "execution_mode": "immediate", | |
| "api_schema": { | |
| "url": "https://verify.twilio.com/v2/Services/<VERIFICATION ID HERE ex. VA0XXXXX...>/VerificationCheck", | |
| "method": "POST", | |
| "path_params_schema": [], | |
| "query_params_schema": [], | |
| "request_body_schema": { | |
| "id": "body", | |
| "type": "object", | |
| "description": "Phone number that code is sent to", | |
| "properties": [ | |
| { | |
| "id": "To", | |
| "type": "string", | |
| "value_type": "llm_prompt", | |
| "description": "Same E.164 phone number used for send_SMS_verification.", | |
| "dynamic_variable": "", | |
| "constant_value": "", | |
| "enum": null, | |
| "is_system_provided": false, | |
| "required": true | |
| }, | |
| { | |
| "id": "Code", | |
| "type": "string", | |
| "value_type": "llm_prompt", | |
| "description": "The OTP digits the caller provided, digits only.", | |
| "dynamic_variable": "", | |
| "constant_value": "", | |
| "enum": null, | |
| "is_system_provided": false, | |
| "required": true | |
| } | |
| ], | |
| "required": false, | |
| "value_type": "llm_prompt" | |
| }, | |
| "request_headers": [ | |
| { | |
| "type": "secret", | |
| "name": "Authorization", | |
| "secret_id": "<SECRET-ID-HERE>" | |
| } | |
| ], | |
| "content_type": "application/x-www-form-urlencoded", | |
| "auth_connection": null | |
| }, | |
| "assignments": [], | |
| "response_timeout_secs": 20, | |
| "dynamic_variables": { | |
| "dynamic_variable_placeholders": {} | |
| }, | |
| "response_mocks": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment