mcp-use TypeScript API
    Preparing search index...

    Type Alias InferToolName<T>

    InferToolName: T extends { name: infer N extends string } ? N : string

    Infer the literal tool name from a definition's name field.

    Type Parameters

    • T