Wait for tasks
tg_wait_tasksWait for given tasks to finish or require approval, up to a timeout, then return their final state with progress updates—use instead of polling task status.
Instructions
Wait until the given tasks finish (or need the user's approval), up to timeout_s, and return their final state. Sends progress notifications when the client supports them. Use this instead of polling tg_tasks.
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_ids": "<task_ids>"
},
"name": "tg_wait_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_ids | Yes | ||
| timeout_s | No |