fable_file_diff
Generate a unified diff between any two past versions of a file using version indices to identify changes between edits or between a past version and the latest.
Instructions
Unified diff between any two reconstructed versions of a file (version indices from fable_file_history) — recover exactly what changed between two past edits, or between a past version and the latest. Pass the file path and the two version indices a and b.
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": {
"path": "<path>",
"a": "<a>",
"b": "<b>"
},
"name": "fable_file_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| a | Yes | before version index | |
| b | Yes | after version index |