Reference · Tools

Claude Thinking

Use Claude extended thinking for complex reasoning with visible thought process.

Action AI v1

Claude Thinking gives the model room to reason before answering, returning both the thinking trace and the final response. It suits problems where deliberation improves accuracy — multi-step maths, logic puzzles, analysing a diff, or any decision you want to be able to audit. A typical build is checking a generated plan for contradictions and surfacing the reasoning to a reviewer alongside the verdict.

Node type
Action
Parameters
9
Outputs
Output, Error
Credentials
Anthropic

Claude Thinking

Use Claude extended thinking for complex reasoning with visible thought process.

Overview

Claude Thinking uses Anthropic’s extended thinking feature to solve complex problems with a visible chain-of-thought. The model first produces a detailed thinking trace (enclosed in a thinking block), then generates a final answer. This is ideal for math, logic, code analysis, multi-step reasoning, and any task where transparent deliberation improves accuracy. Supports Claude Opus and Sonnet models with configurable thinking budget. Temperature must be 1 when thinking is enabled.

Category: AI
Tool Name: claude_thinking
Version: 1

Appearance: Icon: anthropic | Color: #d4a574

Node Type

Action — processes input items and produces output

Input / Output

DirectionPort(s)
InputInput
OutputOutput, Error

Credentials

This tool requires Anthropic credentials. See the Credentials Guide for setup instructions.

Parameters

ParameterTypeRequiredDefaultDescription
ModeloptionsNoClaude SonnetThe Claude model to use for thinking. Always uses the latest version (auto-updated). Haiku is not available — extended thinking is only supported on Opus and Sonnet.
Options: Claude Opus (most capable — best for highly complex reasoning tasks), Claude Sonnet (balanced — great reasoning at lower cost). Each option tracks the current release of its tier, so the underlying model ID updates without any change to your node.
System PromptstringNoOptional system prompt to guide the model’s behavior and thinking. Supports expressions.
User MessagestringYesThe message or question for Claude to think about and answer. Supports expressions like {{ $json.prompt }}.
Attachment File IDstringNoOptional Anthropic file_id from a previous Claude File Upload node. When set, the file is attached to the user message so Claude can reason over it. Falls back to item.fileId if empty. Supports expressions.
Attachment TypeoptionsNodocumentHow Claude should interpret the attached file. Ignored when Attachment File ID is empty.
Options: document (PDF, plaintext, or other document file), image (JPG, PNG, GIF, or WebP image)
Thinking BudgetnumberNo10000Token budget for the thinking phase (1024-100000). Higher values allow more detailed reasoning.
OptionscollectionNo{}Advanced output settings.
— Max TokensnumberNo16384Maximum number of output tokens (must be greater than thinkingBudget).
— Response Field NamestringNoresponseThe key name under which the response text will be stored in the output item.
— Include ThinkingbooleanNotrueWhether to include the thinking trace text in the output item.
Include InputbooleanNofalseWhether to merge the input item’s JSON fields into the output item.
Max ConcurrencynumberNo10Maximum number of items to process concurrently.

Output Data

One API call per input item, and one output item per input item. The final answer lands on the field named by Response Field Name (response by default), and binary data on the input item is forwarded unchanged. With Include Input on, the original item fields are merged in alongside the result.

{
  "response": "The final answer text",
  "thinking": "The model's step-by-step reasoning trace",
  "model": "claude-...",
  "usage": { "input_tokens": 380, "output_tokens": 4210 },
  "stopReason": "end_turn"
}
  • thinking is present only when Include Thinking is on and the model returned a thinking block.
  • model is the model that actually answered, as reported by Anthropic.
  • usage is the token accounting Anthropic returned for the call — thinking tokens are billed as output tokens, so a large Thinking Budget is a real cost.
  • stopReason says why generation stopped — for example end_turn (finished naturally) or max_tokens (hit the Max Tokens cap).

Reference the result downstream by expression, e.g. {{ $json.response }}.

Usage Examples

  • Solve a complex math problem step by step
  • Analyze code and explain the reasoning
  • Break down a multi-step logic puzzle
  • Generate a detailed analysis with visible reasoning
  • Answer a complex question with chain-of-thought

Example Configuration

Minimal — reason about one question per item:

{
  "type": "claude_thinking",
  "parameters": {
    "userMessage": "What is the most efficient sorting algorithm for nearly-sorted data, and why?"
  }
}

Batch reasoning with the trace suppressed for a leaner output:

{
  "type": "claude_thinking",
  "parameters": {
    "systemPrompt": "You are an expert software architect. Reason carefully before answering.",
    "userMessage": "{{ $json.question }}",
    "thinkingBudget": 10000,
    "includeInput": true,
    "maxConcurrency": 5,
    "options": {
      "maxTokens": 16384,
      "responseFieldName": "response",
      "includeThinking": false
    }
  }
}

Deep single-item analysis where the reasoning trace is itself a deliverable:

{
  "type": "claude_thinking",
  "parameters": {
    "systemPrompt": "You are an expert analyst. Think through every angle thoroughly.",
    "userMessage": "{{ $json.scenario }}",
    "thinkingBudget": 32000,
    "includeInput": false,
    "maxConcurrency": 1,
    "options": {
      "maxTokens": 40000,
      "responseFieldName": "analysis",
      "includeThinking": true
    }
  }
}

Error Handling

ModeBehavior
stopHalts workflow on first error
continueSkips failed items, passes successful ones through
errorPortRoutes failed items to Error output port

Tips

Claude Thinking runs Anthropic extended thinking to generate a visible chain-of-thought trace before delivering a final answer using Claude Opus or Sonnet models. Use it when solving complex math, logic puzzles, code analysis, or multi-step reasoning tasks where transparent deliberation improves accuracy over standard inference. It outputs a main channel containing both the full reasoning trace in a thinking block and the final answer text, plus an error channel for failure handling.

Frequently asked questions

Why is my temperature setting rejected?

Extended thinking requires temperature to be 1. Any other value is invalid while thinking is enabled, so tune the output through the prompt and the thinking budget rather than through sampling temperature.

Which models can I use?

The Claude Opus and Sonnet models support extended thinking. The thinking budget is configurable, which is the main lever on both cost and how much deliberation the model does.

Do I get the reasoning as well as the answer?

Yes. The output carries the full thinking trace in a thinking block along with the final answer text, which is the point of the node — you can log, review or gate on the reasoning rather than only seeing a conclusion.

When should I use this instead of a normal Claude node?

When accuracy on a hard problem matters more than latency and cost. For summarising, rewriting or straightforward extraction a standard call is faster and cheaper; thinking earns its keep on genuinely multi-step work.

Build with the Claude Thinking node

Drop it into a workflow, wire it to an agent, or call it on a schedule. You'll need Anthropic credentials first.

Open BusyBot

Last updated . Spotted something wrong? Tell us.