Interface: AnthropicToolSearchTool
@providerprotocol/ai / anthropic / AnthropicToolSearchTool
Interface: AnthropicToolSearchTool
Section titled “Interface: 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
Example
Section titled “Example”const tool: AnthropicToolSearchTool = { type: 'tool_search_tool_regex_20251119', name: 'tool_search_tool_regex',};Properties
Section titled “Properties”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)