undo
Reverts the last successful edit to an LTpowerPlanner power tree and returns how many edits remain available to revert. Fails when no edits are left.
Instructions
Revert the last successful edit of this tree. Returns how many edits can still be undone. Fails with NOTHING_TO_UNDO when the stack is empty.
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": {
"tree_id": "<tree_id>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||