clear_tree
Deletes a reasoning tree by its ID, removing stored decision paths and freeing workspace in the Tree of Thoughts server.
Instructions
Clear a specific tree by ID
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": {
"treeId": "<treeId>"
},
"name": "clear_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | The ID of the tree to clear |