Wait for the SMS/OTP code
wait_for_test_smsBlock until the first SMS/OTP code arrives on a rented test phone number, with configurable timeout and polling, to capture verification codes automatically.
Instructions
Block until the first SMS/OTP code arrives on a phone rental, or time out.
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": {
"rentalId": "<rentalId>"
},
"name": "wait_for_test_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rentalId | Yes | The rentalId returned by rent_test_phone_number. | |
| timeoutMs | No | Max time to wait, in ms. | |
| intervalMs | No | Poll interval, in ms. |