Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias AuthEnvVarExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Describes a single environment variable for an [AuthMethodEnvVar] authentication method.

    type AuthEnvVar = {
        name: string;
        label?: string | null;
        secret?: boolean;
        optional?: boolean;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    name: string

    The environment variable name (e.g. "OPENAI_API_KEY").

    label?: string | null

    Human-readable label for this variable, displayed in client UI.

    secret?: boolean

    Whether this value is a secret (e.g. API key, token). Clients should use a password-style input for secret vars.

    Defaults to true.

    optional?: boolean

    Whether this variable is optional.

    Defaults to false.

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

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility