replay_file
Reconstruct the state of a file at a specific point in a past Claude Code session by replaying every edit exactly as recorded.
Instructions
Reconstruct the state of a file at a point in a past Claude Code session. Applies every edit verbatim from the session JSONL — no summarization.
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": {
"session_id": "<session_id>",
"file_path": "<file_path>"
},
"name": "replay_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| session_id | Yes | ||
| at_event_id | No | Optional: reconstruct up to this event |