prune_tree
Remove thoughts that fall below a specified evaluation threshold from a tree, and optionally prune branches exceeding a risk threshold.
Instructions
Prune thoughts below a certain evaluation threshold, optionally by risk threshold
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | The ID of the tree | |
| threshold | Yes | The evaluation threshold (thoughts below this will be pruned) | |
| riskThreshold | No | Optional risk threshold (thoughts with risk above this will be pruned) |