git_branch
List local branches of a place's mirror repo with the current branch marked, or create and switch to a new branch from the current commit; uncommitted changes carry over.
Instructions
List the local branches of a place's mirror repo (current one marked *), or create a new branch from the current commit and switch to it. Listing is read-only; creating is blocked in read-only mode. Uncommitted changes carry over to the new branch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of a new branch to create and switch to. Omit to list branches. | |
| place | No | Target place (PlaceId or project name) whose mirror repo to use. Defaults to the bound/sole connected place. |