sb_undo
Restores content replaced by a page or form write or an API PUT, letting you revert edits made in this process. Refuses pages changed by someone else since the save.
Instructions
Put back what a write replaced — a page or form edit made here (sb_add, sb_set, sb_duplicate …), or a PUT through sb_api_call. An undo records what IT replaced, so the newest entry right after one is its redo. A page is refused if anyone else saved it since. IN THIS PROCESS ONLY, capped; the platform's own page history (GET .../pages/{pageId}/history) survives a restart. No argument lists what is undoable.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sb_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Every page, not just the open one | |
| index | No | 1 is the most recent write | |
| dry_run | No |