Parameters for Claude reasoning.
Examples:
#!python {"type": "enabled", "budget_tokens": 10_000} (pre-4.7 models)#!python {"type": "adaptive"} (Opus 4.6+, Sonnet 5)#!python {"type": "adaptive", "display": "summarized"} (Opus 4.7+, Sonnet 5)#!python {"type": "disabled"} (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.