jules_wait_for_completion
Wait for a Jules AI session to finish by monitoring its status until completion, failure, or cancellation. Use this tool to track automated coding tasks and synchronize AI-generated code changes.
Instructions
Waits for a Jules session to complete (success, failure, or cancellation).
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": {
"sessionId": "<sessionId>"
},
"name": "jules_wait_for_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| timeoutMs | No | Max time to wait in ms | |
| pollIntervalMs | No | Polling interval in ms |