wait_for_sms
Polls a specified phone number until a new SMS arrives or the timeout expires, helping agents wait for incoming OTP or verification messages before continuing.
Instructions
Poll until a new SMS arrives on a free public number or timeout.
Args: phone: Phone number to watch. timeout: Max seconds to wait (default 120, max 300). poll_interval: Seconds between polls (default 10, min 5).
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": {
"phone": "<phone>"
},
"name": "wait_for_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | ||
| timeout | No | ||
| poll_interval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |