Explain file change
explain_changeProvide historical context for a file showing changesets, code graph entries, snapshots, and related messages to explain why it changed during code review or bug triage.
Instructions
Purpose: Explain why a file may have changed using stored changesets, code graph entries, snapshots, and related messages. When to use: call during code review, bug triage, or handoff recovery when a file path needs historical context. Inputs: file_path identifies the repo-relative file; limit caps evidence volume; include_narrative adds a deterministic cited summary. Side effects: none beyond database reads. Output: changesets, touched entities, snapshots, related messages, and optional geond.evidence.v1 narrative citations. Failure modes: returns sparse evidence when the file was not indexed or imported.
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": {
"file_path": "<file_path>"
},
"name": "explain_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of evidence rows to include per evidence category. | |
| file_path | Yes | Repo-relative path to the file whose history should be explained. | |
| include_narrative | No | Whether to include a concise cited narrative summary. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||