wait_for_message
Wait for task events, a terminal state, or required user input. Timeouts return without stopping the task; use the next cursor to continue monitoring.
Instructions
Wait for task events, terminal state or required user input. Timeout returns without stopping the task. Continue with next_cursor.
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": {
"task_id": "<task_id>"
},
"name": "wait_for_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| task_id | Yes | ||
| after_cursor | No | 0 | |
| include_partial | No | ||
| timeout_seconds | No |