Parameters for Claude reasoning.
Examples:
#!python {"type": "enabled", "budget_tokens": 10_000} (pre-4.7 models)#!python {"type": "adaptive"} (Opus 4.6+, Opus 5, Sonnet 5)#!python {"type": "adaptive", "display": "summarized"} (Opus 4.7+,
Opus 5, Sonnet 5)#!python {"type": "disabled"} (Opus 5 and Sonnet 5, where adaptive
thinking is on by default)budget_tokens is removed on these models — use {"type": "adaptive"}
with output_config.effort to control reasoning effort. The default
display is "omitted"; set it to "summarized" to receive
summarized reasoning in the response. On Opus 5, disabled thinking is
supported only at "high" effort or below.