@adcp/client API Reference - v3.3.3
    Preparing search index...

    Interface InputRequest

    Request for input from the agent - sent when clarification is needed

    interface InputRequest {
        question: string;
        field?: string;
        expectedType?: "string" | "number" | "boolean" | "object" | "array";
        suggestions?: any[];
        required?: boolean;
        validation?: { min?: number; max?: number; pattern?: string; enum?: any[] };
        context?: string;
    }
    Index

    Properties

    question: string

    Human-readable question or prompt

    field?: string

    Specific field being requested (if applicable)

    expectedType?: "string" | "number" | "boolean" | "object" | "array"

    Expected type of response

    suggestions?: any[]

    Suggested values or options

    required?: boolean

    Whether this input is required

    validation?: { min?: number; max?: number; pattern?: string; enum?: any[] }

    Validation rules for the input

    context?: string

    Additional context about why this input is needed