Wait for tasks
wait_for_tasksWork session (the person reviews the board and comments while you work): waits for new requests addressed to the agent and returns them as soon as they arrive, or after timeoutSeconds with nothing new. The requests it returns are this agent's: the person's other agents leave them. The first call (no cursor) returns the open requests at once; each result carries the cursor for the next call. The session ends after 25 minutes without a request, or when the person ends it from the board (End). People see on the board that the agent listens while it waits; fileId keeps the session to one file.
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_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | From the previous wait_for_tasks call. | |
| fileId | No | Limit to one file: its id or its link (https://…/f/<id>). | |
| timeoutSeconds | No |