get_file_history
Retrieve the complete chronological history of edits for any file across all sessions. Optionally filter by a specific session.
Instructions
Get every edit ever made to a file across all sessions, chronologically.
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": "get_file_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| session_id | No | Optional: limit to a single session |