MCP Apps
    Preparing search index...

    Interface StandardSchemaWithJSON<Input, Output>

    A schema that implements both Standard Schema (validation) and Standard JSON Schema (serialization). Zod v4, ArkType, and Valibot (via @valibot/to-json-schema) all satisfy this.

    Mirrors the type of the same name in @modelcontextprotocol/core v2 so that bumping to that package later is a drop-in import swap.

    interface StandardSchemaWithJSON<Input = unknown, Output = Input> {
        "~standard": Props<Input, Output> & Props<Input, Output>;
    }

    Type Parameters

    • Input = unknown
    • Output = Input
    Index

    Properties

    Properties

    "~standard": Props<Input, Output> & Props<Input, Output>