undo_notebook_edit
Restore a .ntop notebook from its latest or named snapshot, saving the current state first so the undo is reversible. Use it to roll back notebook edits safely.
Instructions
Restore an .ntop notebook from its latest (or named) snapshot in .ntop_history/.
Saves the current state as a before_undo snapshot first so undo is itself reversible.
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": {
"notebook_path": "<notebook_path>"
},
"name": "undo_notebook_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_path | Yes | ||
| snapshot_name | No | ||
| auto_reload_gui | No | ||
| force_if_unsaved | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |