jules_create_session
Create a session for autonomous coding tasks, with optional automatic pull request generation.
Instructions
Create a new Jules session to start a coding task. Jules will work on the task autonomously, optionally creating a PR when done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt describing what task Jules should perform (e.g., 'Fix the bug in auth.js', 'Add dark mode support') | |
| source | Yes | The source name to work on (e.g., 'sources/github/owner/repo') | |
| startingBranch | Yes | The branch to start from (e.g., 'main') | |
| title | No | Optional title for the session. If not provided, system will generate one. | |
| automationMode | No | Automation mode. Use 'AUTO_CREATE_PR' to automatically create a PR when done. | |
| requirePlanApproval | No | If true, plans will require explicit approval before Jules starts working. Default is auto-approve. |