Wait for a text reply
wait_for_replyWait for the human to send something back to this session — texts and voicemail transcripts arrive here. Long-polls up to wait_s (max 30s); returns {events, cursor}. Pass the returned cursor next time to only see new events. An empty events list just means nothing yet — poll again if you are still waiting.
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": {
"session_token": "<session_token>"
},
"name": "wait_for_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The cursor from the previous result; 0 the first time. | |
| wait_s | No | How long to wait for something to arrive, 0 to 30 seconds. | |
| session_token | Yes | The session_token from an earlier result. It keeps every call and text in one thread on their phone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | Yes | Pass back as cursor next time to see only newer events. | |
| events | Yes | New events since the cursor; empty means nothing yet. |