prune_tree
Removes thoughts from a tree that fall below a specified evaluation threshold, keeping only high-quality reasoning paths.
Instructions
Prune thoughts below a certain evaluation threshold
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>",
"threshold": "<threshold>"
},
"name": "prune_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | Tree ID | |
| threshold | Yes | Evaluation threshold (thoughts below this will be pruned) | |
| riskThreshold | No | Optional risk threshold |