nex_sms_code_get
Retrieves the current SMS verification code for a purchased phone number, optionally polling up to 120 seconds and ignoring older messages to complete verification.
Instructions
Read the latest SMS and code of one purchased number. waitSeconds (max 120) polls until a code arrives or the number stops waiting. receivedAfter (ISO time with timezone of the current send) ignores earlier SMS and SMS without a valid time; onlyNew ignores codes already present at the first pull. To type the code into a page, use nex_sms_code_fill.
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": {
"tel": "<tel>"
},
"name": "nex_sms_code_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tel | Yes | ||
| onlyNew | No | ||
| waitSeconds | No | ||
| receivedAfter | No |