mcts_reasoning
Enhance reasoning by structuring complex queries into step-by-step thought processes using Monte Carlo Tree Search simulations for optimal decision-making.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
nextThoughtNeeded | Yes | Whether another step is needed | |
numSimulations | No | Number of MCTS simulations to run | |
prompt | Yes | The problem or query to reason about | |
thought | Yes | Current reasoning step | |
thoughtNumber | Yes | Current step number | |
totalThoughts | Yes | Total expected steps |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"nextThoughtNeeded": {
"description": "Whether another step is needed",
"type": "boolean"
},
"numSimulations": {
"default": 50,
"description": "Number of MCTS simulations to run",
"maximum": 150,
"minimum": 1,
"type": "integer"
},
"prompt": {
"description": "The problem or query to reason about",
"type": "string"
},
"thought": {
"description": "Current reasoning step",
"type": "string"
},
"thoughtNumber": {
"description": "Current step number",
"minimum": 1,
"type": "integer"
},
"totalThoughts": {
"description": "Total expected steps",
"minimum": 1,
"type": "integer"
}
},
"required": [
"prompt",
"thought",
"thoughtNumber",
"totalThoughts",
"nextThoughtNeeded"
],
"type": "object"
}