close_tree
Free memory by closing an open LTpowerPlanner power-tree; reject the action when unsaved edits exist unless discard=true.
Instructions
Forget an open tree and free its memory. Refuses (VALIDATION_FAILED, 'unsaved changes') when the tree has edits that were not saved, unless discard=true.
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": "close_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discard | No | ||
| tree_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||