History
ps_historyNavigate document history with undo, redo, and state inspection to recover from mistakes or track changes.
Instructions
Manages document history. "undo" steps backward (default 1 step), "redo" steps forward, "get-states" returns the list of history states. Use undo to recover from mistakes.
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": {
"action": "<action>"
},
"name": "ps_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | History action | |
| steps | No | Number of steps to undo or redo — default 1 |