/** * Fluid Agent Skills — framework-compatible LLM tool definitions. * * Works out-of-the-box with: * Claude (Anthropic) · GPT (OpenAI) · Vercel AI SDK · LangChain / LangGraph * * Usage: * const agent = new FluidAgent({ agentKey: process.env.FLUID_AGENT_KEY }); * const tools = toAnthropicTools(agent); // pass to Claude * const tools = toOpenAITools(agent); // pass to GPT */ import type { FluidAgent } from "./FluidAgent"; export interface FluidTool { name: string; description: string; inputSchema: { type: "object"; properties: Record; required?: string[]; }; run(args: Record): Promise; } export declare function getFluidTools(agent: FluidAgent): FluidTool[]; export interface OpenAITool { type: "function"; function: { name: string; description: string; parameters: object; }; } export declare function toOpenAITools(agent: FluidAgent): OpenAITool[]; export declare function runOpenAIToolCall(agent: FluidAgent, toolCall: { function: { name: string; arguments: string; }; }): Promise; export interface AnthropicTool { name: string; description: string; input_schema: { type: "object"; properties: Record; required?: string[]; }; } export declare function toAnthropicTools(agent: FluidAgent): AnthropicTool[]; export declare function runAnthropicToolCall(agent: FluidAgent, block: { name: string; input: Record; }): Promise; export declare function toVercelAITools(agent: FluidAgent, jsonSchemaHelper: (schema: object) => unknown): Record) => Promise; }>; export interface LangChainToolDef { name: string; description: string; func: (args: Record) => Promise; } export declare function toLangChainTools(agent: FluidAgent): LangChainToolDef[]; //# sourceMappingURL=tools.d.ts.map