Create a new Jules session
jules_create_sessionCreate a new coding session for a GitHub repository to delegate a task to Jules, specifying starting branch, prompt, and optional pull request automation.
Instructions
Create a new Jules coding session for a GitHub repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name | |
| owner | Yes | GitHub repository owner | |
| title | No | Optional session title | |
| branch | Yes | Starting branch name | |
| prompt | Yes | Task description for Jules | |
| workingBranch | No | Optional branch Jules pushes its changes to. If omitted, Jules generates a branch name. Distinct from the starting branch. | |
| automationMode | No | Automation mode. Defaults to "AUTO_CREATE_PR" (Jules auto-opens a pull request on successful completion). Note: the Jules API itself defaults to no automation. Use "AUTOMATION_MODE_UNSPECIFIED" to disable PR creation. | |
| requirePlanApproval | No | Whether to require plan approval before execution | |
| environmentVariablesEnabled | No | Optional. Enables environment variables configured for this source within the session. |