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

    Type Alias CreateElicitationRequestExperimental

    CreateElicitationRequest: types.CreateElicitationRequest

    Request from the Agent to elicit structured user input.

    The Agent sends this to the Client to request information from the user, either via a form or by directing them to a URL. Elicitations are tied to a session (optionally a tool call) or a request.

    A session-scoped request follows the aggregate foreground-state contract: Agents SHOULD report requires_action when the whole foreground workflow is blocked on user action. Once reported, they MUST report running when progress resumes, or idle if work ends without resuming. Independent background requests and request-scoped elicitations do not themselves change session state. Accepting a URL does not mean the external interaction completed.

    When an Agent stops waiting for an elicitation because its work was cancelled, it MUST cancel the request with $/cancel_request. The request's scope alone does not establish that dependency.

    See protocol docs: Elicitation