Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.22 ·

SDK Control for Max Thinking Tokens

Entry
JSON All of v2.0.22
EntryKind: in v2.0.22,
ChangesSection of the release

What: SDK users can now dynamically change the maximum thinking tokens limit mid-session.

How to use:

// Send control request in SDK:
{
  subtype: "set_max_thinking_tokens",
  max_thinking_tokens: 10000  // or null to disable
}

Details:

  • Takes effect immediately for subsequent conversation turns
  • Setting to null disables thinking tokens entirely
  • Useful for adjusting reasoning depth based on task complexity
  • Evidence: MT8() at lines 5859-5862 in v2.0.22

See this entry in the whole of v2.0.22 →

Feedback