Group of 2 Under the hood
The set_max_thinking_tokens tool supports a new 'highlights' display mode and validates its inputs more strictly
What
- The
thinking_displayparameter of theset_max_thinking_tokenstool now accepts a new mode, in addition tosummarizedandomitted, that shows one short title per stretch of thinking instead of a full prose summary. This mode only works for Claude Code sessions that Anthropic itself hosts; on any other client, the request still succeeds but silently falls back toomittedonce the API rejects the value. - A tightened validation schema now requires
max_thinking_tokensto be an integer ornull, andthinking_displayto be one of a fixed set of values ornull, with a matching error message when the input doesn't fit.
Why
The new display mode gives a more scannable view of Claude's thinking on supported sessions, while the stricter validation makes sure invalid values for these settings produce a clear error instead of being silently accepted.
Names in the bundlemax_thinking_tokensthinking_display
Documented inclaude-code/agent-sdk/python
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say what triggers this control or who sets these values.