ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias LoginAuthRequestExperimental

    Request parameters for the auth/login method.

    Specifies which authentication method to use.

    Agents MUST support this method when their initialize response advertised at least one valid authentication method. Clients MUST NOT call this method when authMethods was omitted or empty.

    type LoginAuthRequest = {
        methodId: AuthMethodId;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    methodId: AuthMethodId

    The ID of the authentication method to use. Must be one of the methods advertised in the initialize response.

    _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