Execute the EXPANSION phase of MCTS to generate new child nodes using LLM as world model
You are executing the EXPANSION phase of Monte Carlo Tree Search.
Use your knowledge to predict:
Call mcts_expand with:
node_id: The node to expandactions: List of actions to add as childrenstates: Resulting states for each actionpriors: Prior probability estimates for each actionEach action should include:
{
"action": "description of action",
"state": "resulting state description",
"prior": 0.3,
"metadata": {"reasoning": "why this action"}
}
For the current context: $ARGUMENTS
Don't expand:
After expansion, report:
Proceed to SIMULATION phase with one of the new child nodes.