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.
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": {
"session_id": "<session_id>"
},
"name": "jules_wait_for_task"
}
}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). |