get_git_status
Show a repository's Git status, including current branch, dirty files, ahead/behind counts, and recent commits to assess local changes.
Instructions
Show the git status of a repository: branch, dirty files, ahead/behind, and recent commits
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": "get_git_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the git repository (defaults to current working directory) | . |
| include_recent_commits | No | Include the last 5 commits |