@node-in-layers/mcp-server
    Preparing search index...

    Interface McpToolSchema

    Schema-only metadata for an MCP tool — everything except the execute handler. Used when building tool definitions before the execute function is attached (e.g. in nil.ts / models.ts helper factories).

    interface McpToolSchema {
        description?: string;
        inputSchema: any;
        name: string;
        outputSchema?: any;
    }
    Index

    Properties

    description?: string

    Description shown to the AI client to explain what this tool does.

    inputSchema: any

    JSON Schema (or Zod schema) describing the tool's input object. The SDK validates incoming tool calls against this schema before invoking the execute handler.

    name: string

    Unique tool name as it appears in the MCP tool listing.

    outputSchema?: any

    Optional JSON Schema describing the tool's output object. Provided for documentation/type-generation purposes; the MCP SDK does not currently enforce it at runtime.