git_status
Retrieve Git repository status including branch, ahead/behind counts, modified, untracked, and deleted files. Use to inspect uncommitted changes and branch state without modifying the system.
Instructions
Returns the Git status of a repository: current branch, ahead/behind
counts, modified files, untracked files, and deleted files.
The repo path must be within allowed roots (~/Projects, ~/Documents).
Use this when investigating uncommitted changes, branch status, or
repository state. Does not modify system state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "git_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |