IFClite TypeScript API
    Preparing search index...

    Interface Tool

    interface Tool {
        _meta?: ToolMeta;
        additionalScopes?: readonly ToolScope[];
        annotations?: ToolAnnotations;
        description: string;
        icons?: Icon[];
        inputSchema: JsonSchema;
        name: string;
        outputSchema?: JsonSchema;
        schemaFromTab?: boolean;
        scope?: ToolScope;
        title?: string;
        handler(
            input: Record<string, unknown>,
            ctx: ToolContext,
        ): CallToolResult | Promise<CallToolResult>;
    }
    Index
    _meta?: ToolMeta
    additionalScopes?: readonly ToolScope[]
    annotations?: ToolAnnotations

    MCP behaviour hints for tools/list.

    description: string
    icons?: Icon[]
    inputSchema: JsonSchema
    name: string
    outputSchema?: JsonSchema

    Schema of the structuredContent a successful call returns. Clients may reject a result that does not match, so it must describe every success path of the handler.

    schemaFromTab?: boolean

    The schema came from a paired bridge tab; validated with fromTab (see ValidateOptions).

    scope?: ToolScope
    title?: string

    Human-readable name for tools/list.