create_coding_task
Create autonomous coding sessions for bug fixes, refactoring, testing, and feature development using natural language instructions with human-in-the-loop approval workflows.
Instructions
Creates a new Jules coding session. Returns immediately with a session ID. Monitor progress via jules://sessions/{id}/full resource.
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": {
"prompt": "<prompt>",
"source": "<source>"
},
"name": "create_coding_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Natural language instruction for the coding task | |
| source | Yes | Repository resource name (sources/github/owner/repo) | |
| branch | No | Git branch to base changes on | main |
| auto_create_pr | No | Automatically create Pull Request upon completion | |
| require_plan_approval | No | Pause for manual plan review | |
| title | No | Optional session title |