/** * Anthropic Tool Use Adapter * * Converts tool definitions to Anthropic's tool use format. * * @module ai/adapters/anthropic */ import type { AnthropicTool, ManifestBuilder, ToolResult } from '../types'; /** * Get all tools in Anthropic format */ export declare function getAnthropicTools(): AnthropicTool[]; /** * Tool input parameters */ export interface ToolInput { [key: string]: unknown; } /** * Execute a tool call and return the result * Reuses OpenAI execution logic since the interface is the same */ export declare function executeAnthropicTool(builder: ManifestBuilder, toolName: string, input: ToolInput): ToolResult; /** * Create a handler for Anthropic tool calls */ export declare function createAnthropicHandler(builder: ManifestBuilder): { tools: AnthropicTool[]; execute: (toolName: string, input: ToolInput) => ToolResult; }; //# sourceMappingURL=anthropic.d.ts.map