glm_git_diff
Compare Git changes between commits or branches, showing diffs or statistics for specific files or entire repositories.
Instructions
Git 변경 사항 비교.
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": "glm_git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | 비교 대상 (예: 'HEAD~1', 'main', 커밋 해시). 미지정 시 스테이징 변경사항 표시 | |
| file_path | No | 특정 파일만 비교 (옵션) | |
| stat_only | No | 변경 통계만 표시 | |
| repo_path | No | 저장소 경로 (기본값: 현재 프로젝트 루트) |