get_code
Wait for an incoming SMS and extract the verification code. Use after triggering a verification flow to obtain the code.
Instructions
Wait for an incoming SMS and extract the verification code. Use this after triggering a verification flow — it long-polls until a message arrives or the timeout expires.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Seconds to wait for a message (default: 30, max: 30) | |
| numberId | No | Filter polling to a specific phone number ID (from list_numbers). Omit to poll across all your numbers. |