Create Jules Coding Session
jules_create_sessionStart an asynchronous coding task by specifying a GitHub repository and detailed prompt. Jules runs in an isolated cloud VM, completing tasks in 5-60 minutes.
Instructions
Start a new asynchronous coding task with Jules. Provide a detailed task description and the repository to work on. Jules runs in an isolated cloud VM and typically completes tasks in 5-60 minutes depending on complexity.
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": {
"repoOwner": "<repoOwner>",
"repoName": "<repoName>",
"prompt": "<prompt>"
},
"name": "jules_create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional custom title for the session | |
| branch | No | Starting branch name (default: main) | main |
| prompt | Yes | Detailed task description - be specific about what needs to be done | |
| repoName | Yes | GitHub repository name | |
| repoOwner | Yes | GitHub repository owner (username or organization) | |
| autoApprove | No | Automatically approve the execution plan (default: true). Set false to manually approve with jules_approve_plan | |
| autoCreatePR | No | Automatically create pull request when task completes (default: false) |