get_evolution
Trace every commit that touched a specific line range in a file, oldest to newest, with per-step diffs. Identify which change introduced a bug or altered behavior.
Instructions
git log -L over a line range: every commit that touched those lines, oldest to newest, with per-step diffs.
Returns: {steps: [{hash, short, author, date, subject, diff}], notes: [...]}
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": {
"repo": "<repo>",
"file": "<file>",
"start_line": "<start_line>",
"end_line": "<end_line>"
},
"name": "get_evolution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| file | Yes | ||
| repo | Yes | ||
| end_line | Yes | ||
| start_line | Yes |