Reasoning Think
reasoning_thinkDecompose complex problems into sequential reasoning steps. Start a new session with query and depth level, then continue step-by-step using the returned session ID until completion.
Instructions
Structured multi-step reasoning tool. Decomposes analysis into sequential thought steps stored in a persistent session trace.
USAGE PATTERN:
Start: { query: "...", level: "basic"|"normal"|"high"|"expert", thought: "your analysis..." }
Continue: { sessionId: "", thought: "next step..." } — level is optional; session level is used
Repeat until status: "completed" — the summary field contains the exact next call to make
IMPORTANT: Pass the returned sessionId on every continuation call. The thought parameter stores YOUR reasoning verbatim — write thorough analysis in each step. Use stepSummary for a 1-sentence conclusion per step — these accumulate in the summary field for navigation.
Levels: basic (1–3 steps, 2K budget), normal (4–8 steps, 8K budget), high (10–15 steps, 32K budget), expert (20–25 steps, 128K budget). Alternatives: runMode="run_to_completion" (batch, basic level only), or observation/hypothesis/evaluation fields (structured). Errors: E_SESSION_NOT_FOUND (expired — start new), E_INVALID_THOUGHT_COUNT (check level ranges).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Question or problem to analyze. | |
| level | No | Depth level. Required for new sessions. basic (1–3 steps, 2K budget), normal (4–8 steps, 8K budget), high (10–15 steps, 32K budget), expert (20–25 steps, 128K budget). | |
| targetThoughts | No | Exact step count. Must fit level range. | |
| sessionId | No | Session ID to continue. | |
| runMode | No | "step" (default) or "run_to_completion" (basic level only). | |
| thought | No | Reasoning text. Stored verbatim. String for step mode, string[] for batch. | |
| isConclusion | No | End session early at final answer. | |
| rollbackToStep | No | 0-based index to rollback to. Discards later thoughts. | |
| stepSummary | No | One-sentence step summary. | |
| observation | No | Known facts at this step. | |
| hypothesis | No | Proposed next idea. | |
| evaluation | No | Critique of hypothesis. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| result | No | ||
| error | No |