get_history_entry
Retrieve a specific version of a file from its history by providing the file path and entry index. Use this tool to access previous snapshots for recovery or enhanced context awareness.
Instructions
Get a specific history entry for a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entryIndex | Yes | The index of the history entry (0 = most recent) | |
filePath | Yes | The path to the file. Please provide an absolute path (e.g., "/Users/user/project/biome.json") for reliable matching. |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"entryIndex": {
"description": "The index of the history entry (0 = most recent)",
"type": "number"
},
"filePath": {
"description": "The path to the file. Please provide an absolute path (e.g., \"/Users/user/project/biome.json\") for reliable matching.",
"type": "string"
}
},
"required": [
"filePath",
"entryIndex"
],
"type": "object"
}