MCP TypeScript SDK
    Preparing search index...
    • Gets the literal value from a schema, if it's a literal schema. Works with both Zod v3 and v4. Returns undefined if the schema is not a literal or the value cannot be determined.

      Parameters

      Returns unknown