Skip to content

@maxhealth.tech/prefab / mcp / McpEnumSchema

Type Alias: McpEnumSchema

ts
type McpEnumSchema = object;

Defined in: mcp/types.ts:205

Single selection: a string constrained to a fixed set of values.

Properties

type

ts
type: "string";

Defined in: mcp/types.ts:206


title?

ts
optional title?: string;

Defined in: mcp/types.ts:207


description?

ts
optional description?: string;

Defined in: mcp/types.ts:208


enum

ts
enum: string[];

Defined in: mcp/types.ts:209


default?

ts
optional default?: string;

Defined in: mcp/types.ts:210

Released under the MIT License.