sequential_thinking
Analyze problems through a structured yet adaptable thinking process that supports revisions, branching, and step-by-step reasoning to reach solutions.
Instructions
A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thought": "<thought>",
"thoughtNumber": "<thoughtNumber>",
"totalThoughts": "<totalThoughts>",
"nextThoughtNeeded": "<nextThoughtNeeded>"
},
"name": "sequential_thinking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thought | Yes | The core thinking process or analysis at this stage, forming a coherent narrative. | |
| branchId | No | A unique identifier for a specific branch of thought, allowing for parallel exploration. | |
| sessionId | No | Optional session identifier for maintaining state across multiple thoughts. | |
| isRevision | No | Indicates if this thought is a revision of a previous one. | |
| currentStep | No | The detailed description of the immediate next step to be executed. | |
| previousSteps | No | A record of the steps that have already been completed. | |
| thoughtNumber | Yes | The sequential number of the current thought in the series. | |
| totalThoughts | Yes | The total number of thoughts planned for this problem-solving session. | |
| remainingSteps | No | A high-level list of the steps that are yet to be taken. | |
| revisesThought | No | The number of the thought that this one revises, if applicable. | |
| toolUsageHistory | No | A log of the tools that have been used so far, along with their effectiveness. | |
| branchFromThought | No | The thought number from which a new branch of thinking emerges. | |
| needsMoreThoughts | No | Indicates if the current plan needs more thoughts to be added. | |
| nextThoughtNeeded | Yes | A flag indicating whether another thought is required to continue the process. |