A tool available on an MCP server.

interface Tool {
    annotations?: unknown;
    description?: null | string;
    input_schema: unknown;
    name: string;
}

Properties

annotations?: unknown

Additional annotations about the tool.

description?: null | string

The description of the tool.

input_schema: unknown

The JSON schema describing the tool's input.

name: string

The name of the tool.