prune
Optimize reasoning graphs by removing dead ends, consolidating redundant branches, and improving path efficiency during deep thinking processes.
Instructions
Prune and optimize the thought graph. Remove dead ends, consolidate redundant branches, and optimize reasoning paths. Helps maintain graph efficiency during deep reasoning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | analyze=report without changes, prune=execute pruning, optimize_path=optimize best path, prune_node=prune specific node | |
| nodeId | No | Node ID to prune (for prune_node action) | |
| reason | No | Reason for pruning (for prune_node action) |