jules_create_session
Create a new asynchronous coding session to execute AI-generated code changes in a GitHub repository based on task descriptions.
Instructions
Creates a new Jules session to perform an asynchronous coding task.
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>",
"repo": "<repo>"
},
"name": "jules_create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Task description | |
| repo | Yes | GitHub repository in "owner/repo" format | |
| branch | No | Starting branch (default: main) | |
| title | No | Optional session title | |
| automationMode | No | ||
| requirePlanApproval | No | If true, Jules will wait for plan approval |