git_branches
List local Git branches inside a workspace repository and mark the currently checked-out branch. Provide the repo path to see branch names for version control checks.
Instructions
List local branches for a repository inside the workspace, marking which one is currently checked out.
Args: path: Path to the git repository, relative to the workspace root.
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_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |