Method: Anthropic::Models::Beta::MessageCreateParams#thinking

Defined in:
lib/anthropic/models/beta/message_create_params.rb

#thinkingAnthropic::Models::Beta::BetaThinkingConfigEnabled, ...

Configuration for enabling Claude's extended thinking.

When enabled, responses include thinking content blocks showing Claude's thinking process before the final answer. Requires a minimum budget of 1,024 tokens and counts towards your max_tokens limit.

See extended thinking for details.

Returns:



229
# File 'lib/anthropic/models/beta/message_create_params.rb', line 229

optional :thinking, union: -> { Anthropic::Beta::BetaThinkingConfigParam }