/** * MCP Tool type utilities for discovered tools * Uses the official Model Context Protocol types from @modelcontextprotocol/sdk */ import type { Tool } from '@modelcontextprotocol/sdk/types.js'; export type { Tool as MCPTool } from '@modelcontextprotocol/sdk/types.js'; /** * Convert a discovered Python tool to MCP format */ export declare function toMCPTool(discoveredTool: any): Tool; /** * Format tool for OpenAI-compatible function calling */ export declare function toOpenAIFunction(tool: Tool): { type: "function"; function: { name: string; description: string | undefined; parameters: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | undefined; required?: string[] | undefined; }; }; };