Anthropic Capability minor

Tool helpers land in the Python and TypeScript SDKs

The Python and TypeScript SDKs gained beta tool helpers: type-safe tool definitions with input validation and a `tool_runner` that drives the tool-use loop for you.

What does this mean for me?

  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Teams can delete hand-written tool-loop and schema code, which cuts a common source of bugs. Nothing forces a change — existing integrations keep working.

  • Engineer

    What to change, what breaks, what to test Worth knowing

    In the Python and TypeScript SDKs, declare tools with the new typed helpers and let `tool_runner` drive the tool-use loop. Adopting `tool_runner` is also the prerequisite for client-side compaction added on 24 November 2025.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — this is a developer library change.

Instead of hand-writing JSON schemas and the while-loop that feeds tool_result blocks back into the Messages API, the SDKs now provide decorators/helpers for declaring tools with validated, typed inputs, plus a tool runner that executes the loop.

This is the foundation later features were bolted onto: client-side compaction, added to both SDKs on 24 November 2025, works specifically when you are using tool_runner.

Helpers are additive — the raw Messages API loop still works exactly as before.

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person