MCPToolDefinition | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias MCPToolDefinition

    A tool as listed by an MCP server's tools/list

    type MCPToolDefinition = {
        annotations?: MCPToolAnnotations;
        description?: string;
        inputSchema: Record<string, unknown> & { type: "object" };
        name: string;
        outputSchema?: Record<string, unknown> & { type: "object" };
        title?: string;
    }
    Index

    Properties

    annotations?: MCPToolAnnotations
    description?: string
    inputSchema: Record<string, unknown> & { type: "object" }

    JSON Schema of the tool's arguments

    name: string
    outputSchema?: Record<string, unknown> & { type: "object" }

    JSON Schema of the tool's structuredContent

    title?: string