pocketdraft_history
Undo or redo a specific history entry returned by inspect in a PocketDraft project. Provide its entryId and current revision; changes are saved atomically before history moves.
Instructions
Undo/redo exactly the history entry returned by inspect. Requires its entryId and current revision; saves atomically before moving history.
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": {
"projectId": "<projectId>",
"revision": "<revision>",
"action": "<action>",
"entryId": "<entryId>"
},
"name": "pocketdraft_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| entryId | Yes | ||
| revision | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||