Skip to content

Interface: AnthropicToolSearchTool

@providerprotocol/ai


@providerprotocol/ai / anthropic / AnthropicToolSearchTool

Defined in: src/providers/anthropic/types.ts:1007

Tool search tool for dynamic tool discovery.

Enables Claude to search through large tool catalogs using regex or natural language (BM25) queries.

Requires beta header: advanced-tool-use-2025-11-20

const tool: AnthropicToolSearchTool = {
type: 'tool_search_tool_regex_20251119',
name: 'tool_search_tool_regex',
};

name: "tool_search_tool_regex" | "tool_search_tool_bm25"

Defined in: src/providers/anthropic/types.ts:1011

Tool name (must match type variant)


type: "tool_search_tool_regex_20251119" | "tool_search_tool_bm25_20251119"

Defined in: src/providers/anthropic/types.ts:1009

Tool type identifier (regex or BM25 variant)