Anthropic Capability major

Programmatic tool calling, tool search tool, and SDK client-side compaction

Three token-efficiency features for long agent runs shipped with Opus 4.5: programmatic tool calling (Claude invokes tools from inside code execution), the tool search tool (tools discovered on demand from a large catalogue), and client-side compaction in the Python and TypeScript SDKs.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Plan for it

    These three features cut token spend and latency on long agent runs, which is where most agent budgets go. Schedule a pass over your highest-volume agent workloads to adopt them rather than treating them as optional polish.

  • Engineer

    What to change, what breaks, what to test Plan for it

    Use programmatic tool calling so Claude orchestrates fan-out tool calls inside the code execution sandbox instead of round-tripping every intermediate result through context. Add the tool search tool if your catalogue is too large to declare up front, and turn on client-side compaction in the Python or TypeScript SDK when using `tool_runner`.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — these are developer features for building agents and do not change the Claude apps.

Programmatic tool calling moves the orchestration of multi-tool workflows inside the code execution sandbox: Claude writes code that calls your tools, so intermediate results need not round-trip through the context window. That cuts both latency and tokens on fan-out workloads.

The tool search tool addresses the opposite scaling problem — large tool catalogues that no longer fit sensibly in a request. Instead of declaring every tool up front, Claude searches and loads definitions on demand.

Client-side compaction, added to the Python and TypeScript SDKs, summarises conversation history automatically when you use tool_runner, complementing the server-side context editing strategies. All three were public beta at launch; they are the practical machinery behind Opus 4.5’s longer autonomous runs.

Topics: Agents and tool use

Terms on this page: Context window

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