mcp-use TypeScript API
    Preparing search index...

    Type Alias InferPromptInput<T>

    InferPromptInput: T extends { schema: infer S extends StandardSchemaWithJSON }
        ? StandardSchemaWithJSON.InferOutput<S>
        : Record<string, unknown>

    Infer the callback params type from a prompt definition's schema.

    Type Parameters

    • T