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

    Type Alias ElicitationSchemaExperimental

    Type-safe elicitation schema for requesting structured user input.

    This represents a JSON Schema object with primitive-typed properties, as required by the elicitation specification.

    type ElicitationSchema = {
        type: ElicitationSchemaType;
        title?: string | null;
        properties: { [key: string]: ElicitationPropertySchema };
        required?: string[] | null;
        description?: string | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Type discriminator. Always "object". Any other value is rejected.

    title?: string | null

    Optional plain-text title for the form as a whole.

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

    properties: { [key: string]: ElicitationPropertySchema }

    Property definitions (MUST be primitive types).

    required?: string[] | null

    List of required property names.

    Optional. Omitted and null are equivalent and mean no property names are required.

    description?: string | null

    Optional plain-text description of what the form asks the user to provide.

    Optional. Omitted and null are equivalent and mean no schema 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