jules_wait_for_task
Poll and wait for a Google Jules session to finish, fail, request plan approval, or ask a question. Use this to synchronously bridge asynchronous cloud coding tasks into your workflow.
Instructions
Synchronously poll/wait for a Google Jules session until completion, failure, plan approval request, or question asking. Bridges async cloud execution directly into harness dialogue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The Jules session ID to monitor and wait for. | |
| timeout_seconds | No | Maximum seconds to wait (default 60, max 300). | |
| auto_approve_plan | No | If true and Jules pauses in AWAITING_PLAN_APPROVAL, automatically approves the plan and keeps waiting (default false). | |
| poll_interval_seconds | No | Polling interval in seconds (default 5). | |
| auto_unblock_questions | No | If true and Jules pauses in AWAITING_USER_FEEDBACK, automatically replies with an unblocking directive and continues waiting (default true). |