jules_create_session
Create a coding session for a connected GitHub repository, using a prompt to guide the AI agent. Optionally require plan approval before execution.
Instructions
Create a Jules coding session for a connected GitHub source.
source may be a full resource name such as sources/github/OWNER/REPO or the
suffix github/OWNER/REPO. By default Jules auto-approves its plan. Set
require_plan_approval=true when a human/model should inspect the plan first.
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": "jules_create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| prompt | Yes | ||
| source | Yes | ||
| starting_branch | No | ||
| require_plan_approval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||