review.collect_diff
Collects git diff between base and head branches, automatically treating 'main' as 'origin/main', to extract code changes for review.
Instructions
git diff(base...head)를 수집해서 반환합니다. base가 'main'이면 자동으로 'origin/main'으로 변환됩니다.
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": "review.collect_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | 기준 브랜치 (기본값: origin/main, 'main' 입력 시 자동으로 origin/main으로 변환) | origin/main |
| head | No | HEAD | |
| repoPath | No | 로컬 git 저장소 경로 (미지정시 PROJECT_ROOT 사용) | |
| contextLines | No |