- Form mode collects non-sensitive data using a restricted JSON Schema.
- URL mode opens an out-of-band interaction for sensitive or externally hosted workflows such as OAuth.
User interaction requirements
Clients MUST clearly identify the Agent requesting information, respect user privacy, and provide clear decline and cancel controls. For form mode, Clients MUST let users review and modify responses before sending them. For URL mode, Clients MUST display the target host and obtain consent before navigating to it. Clients SHOULD present the request’smessage so users
understand what is requested and why.
Checking support
Clients advertise elicitation support incapabilities.elicitation during
initialization.
- An omitted or
nulltop-levelelicitationfield means elicitation is unsupported. - Form support exists only when
formis explicitly present and non-null. URL support exists only whenurlis explicitly present and non-null. - An omitted or
nullmode field means that mode is not advertised. - A present capability object may advertise zero, one, or both modes.
{}and{"form":null,"url":null}advertise no supported modes.
elicitation capability when the Client advertises no modes.
Agents MUST NOT request a mode the Client has not advertised. Agents
SHOULD provide a graceful fallback when the required mode is unavailable.
If an Agent sends elicitation/create anyway, a Client with no elicitation capability (omitted or null) responds with -32601, as for any capability-gated method it did not advertise. A Client that advertised elicitation but not the requested mode responds with -32602 (Invalid params).
Creating an elicitation
The Agent sends anelicitation/create request directly over the ACP
connection. This adapts the MCP 2026-07-28 data model. ACP also requires mode explicitly. It does
not apply MCP’s omitted-mode form default.
Scope is represented with flattened fields. Exactly one of sessionId or
requestId MUST be present:
sessionIdfor a session-scoped request. It can also includetoolCallIdto associate the request with a tool call in that session.requestIdfor a request-scoped interaction outside a session. It MUST be the ID of a Client-to-Agent request on the same connection that the Agent has not yet responded to.
sessionId alone or an unverified Client-provided identity is not sufficient.
Foreground state
A session-scoped elicitation follows the aggregate foreground-state contract. When foreground work cannot progress without user action, the Agent SHOULD reportrequires_action. Once reported, it MUST report running when
progress resumes, or idle if the work ends without resuming.
An elicitation does not by itself start foreground work. Requests for
independent background activity can be presented while the session remains
idle. Request-scoped elicitations outside a session do not change any
session’s foreground state. Multiple outstanding requests are tracked
individually, but their creation and responses do not each cause state updates.
The Agent remains running while other foreground work can progress, and
remains requires_action while the foreground workflow is still blocked.
In URL mode, accept only means consent to open the URL. If foreground work
still needs the user to finish the external interaction, a reported
requires_action remains unchanged. The Agent reports running when foreground
progress actually resumes. elicitation/complete is not itself a state update.
Form mode
requestedSchema is a flat object with type: "object", properties, and
optional required, title, and description. Each property is one of:
Every property may also have
title and description. pattern uses
ECMA-262 regular expression syntax, as in JSON Schema. Clients treat an unknown
format as plain text. Accepted content maps each answered property name to its value: a string for text and single-select properties, a number for number and integer, a boolean for boolean, and an array of strings for multi-select. Unanswered properties are omitted, not set to null. Custom or future property types may use other JSON values.
Clients SHOULD validate submitted values before responding, and Agents
SHOULD validate them again.
If a Client cannot render a form, it SHOULD respond with -32602 (Invalid
params), not decline or cancel, which report a user’s choice. This includes
a required property of an unknown type, a required entry with no matching
property, and a property that sets both enum and oneOf. Clients MAY leave
out optional properties of unknown types and render the rest. Clients SHOULD
ignore a default that does not match its property schema.
Clients that support schema defaults SHOULD pre-populate form fields with
their declared default values.
Form mode MUST NOT be used to request secrets or credentials that grant
access or authorize transactions, such as passwords, API keys, access or
refresh tokens, private keys, recovery codes, or payment credentials. Ordinary
profile information such as a name, email address, or username is not
categorically prohibited. Agents MUST use URL mode for sensitive
interactions. If the Client does not support URL mode, the Agent MUST NOT
fall back to form mode. It MUST use another safe flow or fail the operation.
URL mode
accept response means the user consented to open the URL. It does not mean
the external interaction completed.
URL mode is not a substitute for authorizing the Client’s access to the Agent. An Agent can still use it during auth/login to sign in to its own provider.
Agents MUST NOT send credentials or tokens obtained through URL mode back
over ACP or place them in Client or model context.
Responses
The Client responds with one of three actions:accept: the user submitted or consented to the interaction.decline: the user explicitly declined.cancel: the user dismissed the interaction without choosing.
cancel.
The content field is optional on accept. Receivers treat omission and null
equivalently. It is only meaningful for accept. Receivers ignore it for
decline and cancel. For an accepted form elicitation, content SHOULD conform to the requested schema. Receivers accept any JSON value in content and validate it against the schema, so an unexpected value invalidates only that property, not the whole response. For an accepted URL elicitation, clients
normally omit content because the interaction happens out of band.
Agents MUST NOT assume an elicitation succeeds. They MUST handle
decline, cancel, and failures by safely falling back, retrying, or failing
the originating operation as appropriate.
URL completion
Unlike MCP 2026-07-28, ACP retains anelicitationId and completion
notification for its direct request flow. The Agent MUST keep each
elicitationId unique among outstanding URL elicitations on that Agent-Client
connection, and the Client MUST treat it as opaque. The Agent MAY send
elicitation/complete after the external interaction finishes. It MUST
send that notification only to the same Client that received the original
request and include the original elicitationId. Clients MUST ignore
unknown or already-completed IDs. On receiving it, Clients MAY retry the original operation, update the UI, or otherwise continue. They SHOULD still let the user retry or cancel if the notification never arrives.
Session cancellation
session/cancel does not
automatically cancel every elicitation scoped to the session. sessionId and
toolCallId identify context, not a cancellation instruction.
When cancelling work makes a pending elicitation no longer relevant, the Agent
SHOULD cancel that individual request using
$/cancel_request.
An elicitation can depend on the affected work with or without a toolCallId.
Clients handle individual cancellation using the existing request-cancellation
rules rather than infer it from session scope. Request-scoped elicitations
outside the session are unaffected by session/cancel.
session/close is different: before responding, the Agent MUST cancel every pending elicitation scoped to that session. Clients SHOULD dismiss elicitation UI for a closed session.
Clients SHOULD dismiss interaction UI they know is no longer relevant.
An accepted URL interaction may continue externally after its create request
has returned. Cancelling foreground work does not guarantee that an external
browser page closes or undo external side effects. A repeated or resume idle
snapshot carrying a previous cancelled stop reason does not cancel a current
interaction.
A response or external completion can race with cancellation. After foreground
cancellation completes, the Agent SHOULD NOT use late responses or external
completions to resume the cancelled work. An external URL workflow may still
complete independently. Cancellation can finish without waiting for it.
URL security
Agents and Clients implementing URL mode MUST follow these requirements: These requirements adapt MCP’s Safe URL Handling rules to ACP.- Agents MUST NOT put credentials, personal data, or pre-authenticated access in the URL and SHOULD use HTTPS outside development.
- Agents SHOULD NOT include URLs intended to be clickable in any field of a form-mode request.
- Clients MUST NOT prefetch the URL or open it without explicit user consent. They MUST show the full URL before asking for consent.
- Clients MUST open the URL in a secure context that prevents the Client or Agent’s language model from inspecting the page or user input.
- Clients SHOULD highlight the domain and warn about suspicious or ambiguous URLs, including Punycode domains.
- Clients SHOULD NOT render a URL as clickable in any elicitation field
except the
urlfield of a URL-mode request, subject to the restrictions above. - When the Agent has an authenticated user, it MUST verify that the user who started the elicitation is the same user who completes the external interaction. Without one, such as during
auth/login, the Agent MUST tie completion to the elicitation it issued and the connection it issued it on, for example with an unguessable single-usestatevalue in the URL, and MUST NOT apply the result to a different connection.