Wait for the next text
wait_for_messageWait for the next text message on one of your MeiSIM numbers and return it. Blocks up to timeout_seconds (default 30, max 50). Pass since as the time you started waiting (default: now) so an older message is not mistaken for the new one. If nothing arrives, received is false; call again to keep waiting. Needs your API key.
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": "wait_for_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ISO 8601; only a message received after this counts. Default: now. | |
| number | No | One of your numbers. Omit to watch every number on the account. | |
| timeout_seconds | No | How long to wait, default 30. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| since | Yes | ||
| messages | Yes | ||
| received | Yes | ||
| waited_seconds | Yes |