git_branch
List Git branches in a workspace repository. Choose local, remote, or all branches to inspect repository state.
Instructions
List local, remote, or all Git branches.
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 |
|---|---|---|---|
| repo_path | No | Workspace-relative repository path; defaults to . | |
| branch_type | No | local |