Tool: expand_thoughts
Purpose
Create candidate next-thought records from one or more frontier nodes. This is the main expansion step for Explore mode.
Current implementation mode: heuristic. The server emits deterministic branch templates and provenance metadata; it does not call an LLM to semantically invent new reasoning.
Input
deliberation_idfrom_node_ids: string[]strategy:diverse | least_to_most | contrarian | direct | skeleton_firstcount: number
Output
created_nodes:ThoughtNode[]frontier_nodes: string[]expansion_summaryanalysis: provenance and limitations for the expansion run
Behavior
- Supports multi-parent expansion.
- Adds branch metadata and parent links.
- Preserves bounded growth via budget checks.
- Each created node carries
provenance.mode = heuristic. skeleton_firstis a compatibility shortcut forstart_skeleton_of_thought; it requires exactly one source node and records aSkeletonPhase.
Errors
- Unknown node IDs
- Expansion exceeds budget