xmpp_wait_for_message
Wait for the next allowlisted message after a given cursor, with a configurable timeout. Returns when a message arrives or the timeout expires.
Instructions
Wait for the next allowlisted message after a durable cursor.
timeout_seconds is clamped to 1..1800 seconds. A timeout is a normal result.
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": {
"after_cursor": "<after_cursor>"
},
"name": "xmpp_wait_for_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | No | ||
| after_cursor | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |