git_status
Check the current state of a git repository under a project root: branch, upstream ahead/behind, and staged/unstaged/untracked files, with optional path filtering and entry caps.
Instructions
Structured read-only git status for a registered project root. Returns branch, upstream ahead/behind, staged/unstaged/untracked entries (capped). Optional path must stay under the project root. lease_id optional (renews if provided). No mutations.
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| project | No | demo | |
| lease_id | No | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||