history
Retrieve the full revision chain from a given revision back to the root. Review notes to choose a prior revision and set it as the parent for your next edit.
Instructions
Walk back from revision to the root, returning the chain (root first). Each entry has { revision, parent, note?, origin?, createdAt } — origin: "editor" marks a revision the user saved from the browser editor. Use this to re-ground after a rewind: read the notes, pick the revision you want to continue from, pass it as parent to your next edit. Continue a prior design only when the user asked for it — never because it is the newest entry.
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": {
"revision": "<revision>"
},
"name": "history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes |