create_session
Create automated coding sessions to perform code tasks using GitHub repositories or user-provided context, with options for plan approval and automatic PR creation.
Instructions
Creates a new Jules session or automated run to perform code tasks. If repo and branch are omitted, creates a "repoless" session where the user provides their own context in the prompt and Jules will perform code tasks based on that context instead of a GitHub repo.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The task for the agent. | |
| repo | No | GitHub repository (owner/repo). Optional for repoless sessions. | |
| branch | No | Target branch. Optional for repoless sessions. | |
| interactive | No | If true, waits for plan approval. Defaults to false (automated run). | |
| autoPr | No | Automatically create a PR on completion. Defaults to true. |