wait_for_verification_code
Wait for a verification code (OTP) texted to one of your numbers and return it. Call this right after a site says it sent you a code. Each code is returned once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"number_id": "<number_id>"
},
"name": "wait_for_verification_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Dial API key (from sign_up) | |
| service | No | Only accept codes from this sender, e.g. 'google' | |
| number_id | Yes | id from get_phone_number | |
| timeout_seconds | No | Default 60 |