get_review_targets
Identifies files requiring review by analyzing a git diff. Filters files based on mode (workspace, range, or commit) and provides a diff reference for downstream tools.
Instructions
Determine which files need review from a git diff. Applies file filtering and returns a diff_ref to pass to downstream tools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "get_review_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Required when mode=range | |
| from | No | Required when mode=range | |
| mode | Yes | workspace: staged+unstaged+untracked; range: from..to; commit: commit^..commit | |
| repo | No | Repo path, default: cwd | |
| commit | No | Required when mode=commit |