ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias EnumOption

    A titled enum option with a const value, human-readable title, and optional description.

    type EnumOption = {
        const: string;
        title: string;
        description?: string | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    const: string

    The constant value for this option.

    title: string

    Human-readable title for this choice, in plain text. const holds the corresponding value.

    description?: string | null

    Plain-text description to help the user choose between options.

    Optional. Omitted and null are equivalent and mean no description is provided.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility