INNER CODE UNIT · Python
gac_status
thomwebb/gac · src/gac/mcp/server.py:58
def gac_status(request: StatusRequest) -> StatusResult:
"""Get comprehensive git repository status.
This is your "vision" tool - use it to understand repository state before
making commits. It provides information about staged, unstaged, and untracked
files, along with optional diff content and commit history.
WHEN TO USE:
- Before calling gac_commit to understand what will be committed
- To check if there are any merge conflicts
- To see recent commit history and patterns
- To review diff content before committing
PARAMETERS:
- format: Output format ('summary', 'detailed', 'json')
- 'summary': Clean human-readable output (default)
- 'detailed': Shows all file names and per-file stats
- 'json': Raw data for programmatic use