git_history_search
Search Git commits by text, author, date, branch, or file path to locate specific changes. Use diff search to find when code was introduced or removed.
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_history_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Git 저장소 경로 (기본: 현재 디렉토리) | |
| query | No | 검색할 텍스트 (커밋 메시지, diff 내용) | |
| since | No | 시작 날짜 (예: '2024-01-01', '1 week ago') | |
| until | No | 종료 날짜 (예: '2024-12-31', 'yesterday') | |
| author | No | 작성자 필터 (이름 또는 이메일) | |
| branch | No | 특정 브랜치에서 검색 (기본: 현재 브랜치) | |
| file_path | No | 특정 파일/경로 히스토리만 검색 | |
| max_count | No | 최대 결과 수 (기본: 20, 최대: 100) | |
| search_in_diff | No | diff 내용에서도 검색 (git log -S) |