sequentialthinking
Record a thought step, let Needle choose the next action, and feed the result forward to advance structured reasoning toward task completion.
Instructions
Think one step with the Mitosis agent: your thought is recorded as an observation in AgentState, Needle decides the next action (call_tool/revise/complete/escalate), and the result feeds the next step. Pass sessionId to continue a session.
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>",
"nextThoughtNeeded": "<nextThoughtNeeded>",
"thoughtNumber": "<thoughtNumber>",
"totalThoughts": "<totalThoughts>"
},
"name": "sequentialthinking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Ongoing task this step belongs to (agent mode; defaults to the thought) | |
| execute | No | Execute a call_tool decision immediately (agent mode) | |
| thought | Yes | Your current thinking step | |
| branchId | No | Branch identifier | |
| sessionId | No | Continue an existing agent session (agent mode) | |
| isRevision | No | Whether this revises previous thinking | |
| thoughtNumber | Yes | Current thought number | |
| totalThoughts | Yes | Estimated total thoughts needed | |
| revisesThought | No | Which thought is being reconsidered | |
| branchFromThought | No | Branching point thought number | |
| needsMoreThoughts | No | If more thoughts are needed | |
| nextThoughtNeeded | Yes | Whether another thought step is needed |