Git status
git_statusInspect a workspace's Git working tree to list staged, modified, and untracked files before committing or reviewing changes.
Instructions
Return git working tree status for the workspace.
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 | . | |
| max_entries | No | ||
| include_untracked | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| branch | No | ||
| entries | No | ||
| is_repo | No | ||
| warnings | No | ||
| truncated | No |