sequential_thinking
Break down complex problems into manageable steps for structured analysis. Track reasoning progress, revise previous steps, and explore alternative paths to solve challenging problems systematically.
Instructions
Facilitates a detailed, step-by-step thinking process for problem-solving and analysis. Break down complex problems into manageable steps, revise and refine thoughts as understanding deepens, and branch into alternative paths of reasoning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thought | Yes | The current reasoning step or thought in the sequence | |
| nextThoughtNeeded | Yes | Indicates whether additional reasoning steps are required after this one | |
| thoughtNumber | Yes | The sequential number of this thought (e.g., 1, 2, 3...) | |
| totalThoughts | Yes | Estimated total number of thoughts needed to complete the reasoning | |
| isRevision | No | Marks this thought as a reconsideration or refinement of a previous step | |
| revisesThought | No | The thought number being revised (required if isRevision is true) | |
| branchFromThought | No | The thought number from which this alternative reasoning path branches | |
| branchId | No | Unique identifier for this alternative reasoning branch | |
| needsMoreThoughts | No | Signals that the total number of thoughts needs to be expanded |
Input Schema (JSON Schema)
{
"properties": {
"branchFromThought": {
"description": "The thought number from which this alternative reasoning path branches",
"type": "number"
},
"branchId": {
"description": "Unique identifier for this alternative reasoning branch",
"type": "string"
},
"isRevision": {
"description": "Marks this thought as a reconsideration or refinement of a previous step",
"type": "boolean"
},
"needsMoreThoughts": {
"description": "Signals that the total number of thoughts needs to be expanded",
"type": "boolean"
},
"nextThoughtNeeded": {
"description": "Indicates whether additional reasoning steps are required after this one",
"type": "boolean"
},
"revisesThought": {
"description": "The thought number being revised (required if isRevision is true)",
"type": "number"
},
"thought": {
"description": "The current reasoning step or thought in the sequence",
"type": "string"
},
"thoughtNumber": {
"description": "The sequential number of this thought (e.g., 1, 2, 3...)",
"type": "number"
},
"totalThoughts": {
"description": "Estimated total number of thoughts needed to complete the reasoning",
"type": "number"
}
},
"required": [
"thought",
"nextThoughtNeeded",
"thoughtNumber",
"totalThoughts"
],
"type": "object"
}