git_status
Retrieve structured Git branch, HEAD, staged, dirty, and untracked state to assess a repository's working tree before commit or automation.
Instructions
Return structured branch, HEAD-related dirty, staged, and untracked Git 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": {
"path": "<path>"
},
"name": "git_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||