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.
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. |