Wait For Agent Run
glitch_wait_for_agent_runWait for a Glitch Agent run to finish, handling approval pauses, failures, cancellations, or timeouts while streaming live progress events.
Instructions
Wait for a Glitch Agent run until it completes, pauses for approval/guidance, fails, is canceled, or times out. Streams live events as progress/log notifications when the client supports them.
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": {
"run_id": "<run_id>"
},
"name": "glitch_wait_for_agent_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title_id | No | Glitch game title id. Omit only after calling glitch_select_title or setting GLITCH_TITLE_ID. | |
| run_id | Yes | Glitch agent run id. | |
| timeout_ms | No | ||
| poll_interval_ms | No | ||
| stream | No | Stream live events as progress/log notifications when the client supports them. Falls back to polling. |