getGitStatus
Retrieve git repository status including current branch, staged, unstaged, and untracked files, plus ahead/behind counts against remote. Optionally filter to a specific file.
Instructions
Git status: branch, staged/unstaged/untracked files, ahead/behind counts.
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": "getGitStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Filter status to a single file (absolute or workspace-relative) |