jules_start
Start an asynchronous Jules coding session in a GitHub repository, letting the agent work on a task and optionally open a pull request; confirm the task before launch.
Instructions
Start a Jules session: Google's coding agent works on a task in one of the user's GitHub repositories, in the cloud and asynchronously, within the Google AI Pro plan's Jules limits (no extra cost). It can push a branch and open a pull request, so confirm the task with the user first.
Then poll with jules_status, answer questions with jules_message, and
approve the plan with jules_approve_plan if you asked for approval. For a
change in a local folder use gemini_code instead.
Args:
prompt: The task with acceptance criteria, e.g. "Add input validation
to the /signup endpoint and tests for it".
repo: Repository from jules_sources, e.g. "github/owner/repo"; omit for
a session without a repository.
branch: Branch Jules starts from (default "main").
title: Optional session title; Jules makes one up otherwise.
create_pr: True lets Jules open a pull request automatically when done.
require_plan_approval: True makes Jules wait for jules_approve_plan
before it changes any code.
Returns:
The session id and its web link (https://jules.google.com/session/<id>),
or an error such as an unknown repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| title | No | ||
| branch | No | main | |
| prompt | Yes | ||
| create_pr | No | ||
| require_plan_approval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |