---
title: "Introducing advanced tool use for Claude"
description: "Claude's API gains three tool-use features aimed at agents working with large tool libraries: Tool Search Tool, Programmatic Tool Calling and Tool Use Examples."
url: "https://swe.quest/articles/introducing-advanced-tool-use-for-claude-32d8b50cd1a805ad"
canonical: "https://www.anthropic.com/research/advanced-tool-use"
source: "Anthropic Engineering"
published: "2025-11-24"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 15
tags: ["ai-agents","llms","api-design"]
---

# Introducing advanced tool use for Claude

A post on [Anthropic Engineering](https://swe.quest/sources/anthropic.md), published 2025-11-24, 15 min read, Announcement. Original: [https://www.anthropic.com/research/advanced-tool-use](https://www.anthropic.com/research/advanced-tool-use)

## Summary

Claude's API gains three tool-use features aimed at agents working with large tool libraries: Tool Search Tool, Programmatic Tool Calling and Tool Use Examples. Tool Search defers loading of tool definitions via \`defer\_loading\` and discovers them on demand with regex, BM25 or custom search. It cuts context use by about 85% and raises MCP eval accuracy, with Opus 4 going from 49% to 74%. Programmatic Tool Calling lets Claude write Python that calls tools inside a sandboxed code execution environment, so only final output enters context. On complex research tasks this lowered tokens by 37% and also reduced inference round-trips and errors. Guidance covers when each feature pays off: search for \>10 tools or \>10K tokens of definitions, and code orchestration for multi-step or large-data workflows.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)

## Prerequisites

- LLM tool calling ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- Model Context Protocol
- JSON Schema

## Keywords

Claude, Tool Search Tool, Programmatic Tool Calling, Tool Use Examples, Model Context Protocol, BM25, Claude Developer Platform

## Related posts

- [ToolGrad: Efficient tool-use dataset generation with textual "gradients"](https://swe.quest/articles/toolgrad-efficient-tool-use-dataset-generation-with-textual-gradients-6d6804c563cc5125.md): Google Research · 2026-09-10 · Hard · 6 min read · Model training, AI agents, LLMs, Evaluation
  ToolGrad generates synthetic tool-use training data answer-first: it builds a verified API chain iteratively, then has an LLM write the matching user query, instead of inventing a query and searching for a solution with a DFS agent as ToolBench and ToolACE do.
- [Building Deep Research: How we Achieved State of the Art](https://swe.quest/articles/building-deep-research-how-we-achieved-state-of-the-art-414ffb743a73bb80.md): Hugging Face · 2025-11-24 · Medium · 7 min read · AI agents, LLMs, Evaluation
  Tavily's deep research agent reached state of the art on DeepResearch Bench while using 66% fewer tokens than LangChain's Open Deep Research, mainly through context engineering.
- [Building with Claude Sonnet 5.5](https://swe.quest/articles/building-with-claude-sonnet-5-5-a71d8c5a25ced5ac.md): claude.dev · 2026-09-28 · Medium · 11 min read · LLMs, API design, AI agents, AI for coding
  Claude Sonnet 5.5 keeps Sonnet 5's per-token pricing ($2/$10 per million input/output tokens) and runs about 30% faster while using fewer tokens per task.
- [Agent experience and agent-led growth: a chat with Caelean Barnes](https://swe.quest/articles/agent-experience-and-agent-led-growth-a-chat-with-caelean-barnes-92e47c9e7361bcbe.md): Mux · 2026-11-03 · Easy · 21 min read · AI agents, AI for coding, Evaluation, Developer tools, Documentation
  Coding agents like Claude Code and Codex increasingly choose which developer tools get adopted, and Gauge measures that choice by running agents in sandboxes, checkpointing sessions, and testing variants of prompts, docs, skills and CLIs against success criteria over many trials.
- [Designing the hf CLI as an agent-optimized way to work with the Hub](https://swe.quest/articles/designing-the-hf-cli-as-an-agent-optimized-way-to-work-with-the-hub-e1ef73909553085b.md): Hugging Face · 2026-06-04 · Medium · 14 min read · Developer tools, AI agents, AI for coding, Evaluation
  Hugging Face rebuilt its hf CLI to serve both humans and coding agents.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
