MCP Apps Kit - v0.5.0
    Preparing search index...

    Type Alias SchemaInput

    SchemaInput: z.ZodType | ZodRawShapeRecord

    Type that accepts either a Zod schema or a plain object of Zod schemas. The plain object will be auto-wrapped with z.object().

    // Explicit Zod schema
    const explicit: SchemaInput = z.object({ name: z.string() });

    // Plain object (will be auto-wrapped)
    const inline: SchemaInput = { name: z.string() };