Sequential Thinking Working Notes
v0.7.0Local working notes, decisions, evidence and resumable sessions with SQLite persistence.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_session
Start a local plaintext working log. No mandatory reasoning phases.
| Parameter | Type | Description |
|---|---|---|
title * | string | Goal or title for later resumption |
mode | string | No mandatory stages or classification |
request_id |
add_step
Store one note with optional provenance or revision; URLs are not fetched.
| Parameter | Type | Description |
|---|---|---|
content * | string | Explicit working note; not hidden internal reasoning |
request_id * | string | Stable retry key; reuse only with identical input |
session_id * | string | ID returned by create_session or list_sessions |
branch_from_step_id | ||
branch_id | string | |
kind | string | Caller-selected note type; note is an unclassified default |
parent_step_id | ||
sources | ||
supersedes_step_id |
list_sessions
Find a previous session. Cursor is the last ID from the preceding page. version counts accepted mutations, not notes: it is the value to pass as expected_version, and says nothing about how many steps a session holds. Read the session to count those.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | integer | |
search | string | |
status |
read_session
Read bounded notes and caller-supplied completion; follow cursor for more. Every response names the view it used. Omitting view reads the resume view, or the steps view when kind, step_id or content_offset asks for a filter the resume view cannot apply; asking for both at once is rejected rather than answered in the other shape. The resume view is always active-only, so active_only applies to the steps view. In steps view, sequence is a database-wide pagination token, not a session count; use branch_id and position for numbering. Comple…
| Parameter | Type | Description |
|---|---|---|
session_id * | string | ID returned by create_session or list_sessions |
active_only | boolean | |
content_chars | integer | |
content_offset | ||
cursor | integer | |
include_completion | ||
kind | ||
limit | integer | |
max_chars | integer | |
step_id | ||
view | Omitted selects resume, or steps when a filter is given |
finalize_session
Store an explicit completion at the expected version; infer no conclusions.
| Parameter | Type | Description |
|---|---|---|
completion * | ||
expected_version * | integer | |
request_id * | string | Stable retry key; reuse only with identical input |
session_id * | string | ID returned by create_session or list_sessions |
delete_session
Delete this session's active DB records; backups/exports survive. No secure erasure.
| Parameter | Type | Description |
|---|---|---|
expected_version * | integer | |
request_id * | string | Stable retry key; reuse only with identical input |
session_id * | string | ID returned by create_session or list_sessions |
process_thought
Record one thought in the sequential-thinking audit trail. Validates and stores the thought (stage name, revision/branch consistency, per-line uniqueness of thought_number), then returns structural analysis: stage-order warnings, thoughts that are lexically related to this one, and progress counters. This does not evaluate, critique, or improve the reasoning — it only records and structures it. Args: thought: The content of the thought total_thoughts: The total expected thoughts in the sequence next_thought_needed: Whether more thoughts are n…
| Parameter | Type | Description |
|---|---|---|
next_thought_needed * | boolean | |
stage * | string | Legacy stage, case-insensitive: Problem Definition, Research, Analysis, Synthesis, Conclusion |
thought * | string | Explicit working note |
total_thoughts * | integer | Legacy estimate of total steps |
assumptions_challenged | ||
axioms_used | ||
branch_from_thought | ||
branch_id | ||
is_revision | boolean | |
revises_thought_number | ||
tags | ||
thought_number |
generate_summary
Summarize the recorded thinking process. Deprecated legacy workflow; prefer read_session for explicit sessions. Includes the actual thought content (excerpts per stage), aggregated challenged assumptions, open branches without a concluding thought, and revision chains, plus structural statistics (stage/branch/tag counts, stage coverage). This is a deterministic extraction from the recorded thoughts — it does not generate new reasoning or judge its quality. Returns: The summary (content + structure sections), or a "no thoughts recorded yet" message.
| Parameter | Type | Description |
|---|---|---|
max_chars | integer |
clear_history
Delete all active database records in the local legacy session. Exports and backups remain; this is not secure erasure. Export first if needed. Returns: Status message with the number of thoughts that were cleared.
export_session
Export session_id to a file; omitted ID selects deprecated legacy format. Explicit sessions preserve IDs, branches, sources and completion in a worklog-session archive. Retry keys are excluded; use snapshots for full backup. file_path is confined to the storage directory's exports/ subdirectory — absolute paths and '..' traversal outside it are rejected. Args: file_path: Destination path, resolved against the exports/ directory Returns: Status message with the exported thought count.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
session_id | string |
import_session
Import a session archive with its matching session_id; existing IDs conflict. Omitted session_id uses deprecated legacy import, REPLACING legacy history. Explicit archives preserve IDs and do not restore retry keys. file_path is confined to the storage directory's exports/ subdirectory — absolute paths and '..' traversal outside it are rejected. Args: file_path: Source path, resolved against the exports/ directory Returns: Status message with the imported thought count.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
session_id | string |