sequential_thinking
Facilitates structured problem-solving by analyzing thoughts sequentially, supporting revisions, and branching paths. Returns JSON with thought analysis and metadata for complex decision-making.
Instructions
An advanced tool for dynamic and reflective problem-solving through structured thoughts.
Args:
thought: The content of the current thought
thought_number: Current position in the sequence
total_thoughts: Expected total number of thoughts
next_thought_needed: Whether another thought should follow
stage: Current thinking stage (e.g., "Problem Definition", "Analysis")
is_revision: Whether this revises a previous thought
revises_thought: Number of thought being revised
branch_from_thought: Starting point for a new thought branch
branch_id: Identifier for the current branch
needs_more_thoughts: Whether additional thoughts are needed
score: Quality score (0.0 to 1.0)
tags: Categories or labels for the thought
Returns:
JSON string containing thought analysis and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch_from_thought | No | ||
branch_id | No | ||
is_revision | No | ||
needs_more_thoughts | No | ||
next_thought_needed | Yes | ||
revises_thought | No | ||
score | No | ||
stage | Yes | ||
tags | No | ||
thought | Yes | ||
thought_number | Yes | ||
total_thoughts | Yes |
Input Schema (JSON Schema)
{
"properties": {
"branch_from_thought": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Branch From Thought"
},
"branch_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Branch Id"
},
"is_revision": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Is Revision"
},
"needs_more_thoughts": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Needs More Thoughts"
},
"next_thought_needed": {
"title": "Next Thought Needed",
"type": "boolean"
},
"revises_thought": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Revises Thought"
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Score"
},
"stage": {
"title": "Stage",
"type": "string"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"thought": {
"title": "Thought",
"type": "string"
},
"thought_number": {
"title": "Thought Number",
"type": "integer"
},
"total_thoughts": {
"title": "Total Thoughts",
"type": "integer"
}
},
"required": [
"thought",
"thought_number",
"total_thoughts",
"next_thought_needed",
"stage"
],
"title": "sequential_thinkingArguments",
"type": "object"
}