jules_wait_for_session
Wait for a coding session to complete, fail, pause, or await user feedback, returning when it stops actively running. Eliminates manual polling with a bounded timeout.
Instructions
Poll a Jules session until it stops actively running or until timeout.
Returns when the session reaches COMPLETED, FAILED, PAUSED, AWAITING_PLAN_APPROVAL, or AWAITING_USER_FEEDBACK. This is useful after creating a task when the caller wants a bounded wait instead of manual polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||