Initial state
During Session Setup the Agent MAY return a list of configuration options and their current values:SessionConfigOption[]
The list of configuration options available for this session. The order of
this array represents the Agent’s preferred priority. Clients SHOULD
respect this ordering when displaying options.
SessionConfigOption
string
required
Unique identifier for this configuration option. Used when setting values.
string
required
Human-readable label for the option
string
Optional description providing more details about what this option controls
SessionConfigOptionCategory
Optional semantic category to help Clients provide
consistent UX.
string
required
The type of input control.
select and boolean are supported.string | boolean
required
The current value for this option. For
select options this is a string value
ID. For boolean options this is a boolean.SessionConfigSelectOption[] | SessionConfigSelectGroup[]
The available values for a
select option. Required when type is "select"
and omitted when type is "boolean". This is either a flat array of values
or an array of groups. Values and groups are not mixed in the same array. For
a select option, Agents MUST offer at least one value, MUST keep
each value unique within the option, including across groups, and
currentValue MUST be one of them. Each group MUST contain at least
one value. Clients SHOULD hide a group that ends up empty, for example
after skipping values they couldn’t parse.SessionConfigSelectOption
string
required
The value identifier used when setting this option
string
required
Human-readable name to display
string
Optional description of what this value does
Grouped select options
Select options may be grouped under labeled headers. EachSessionConfigSelectGroup requires groupId, name, and an options array containing
the same SessionConfigSelectOption objects used by flat selects. A group’s _meta is
optional. Value descriptions and _meta remain optional as described above.
Boolean config options
Boolean config options usetype: "boolean" for simple on/off toggles:
Option categories
Each config option MAY include acategory field. Categories are semantic metadata intended to help Clients provide consistent UX, such as attaching keyboard shortcuts, choosing icons, or deciding placement.
Category names beginning with _ are free for custom use (e.g., _com.example/category). Category names that do not begin with _ are reserved for the ACP spec.
Clients SHOULD render
model_config options near the model selector, such as in the same popover or panel. No capability negotiation is required for category values.
When multiple options share the same category, Clients SHOULD use the array ordering to resolve ties, preferring earlier options in the list for prominent placement or keyboard shortcuts.
Option ordering
The order of theconfigOptions array is significant. Agents SHOULD place higher-priority options first in the list.
Clients SHOULD:
- Display options in the order provided by the Agent
- Use ordering to resolve ties when multiple options share the same category
- If displaying a limited number of options, prefer those at the beginning of the list
Default values and graceful degradation
Every configuration option’scurrentValue is the value the Agent is using. It changes only through a session/set_config_option response or a config_option_update notification. Agents MUST be able to operate with it, even if:
- The Client doesn’t support configuration options
- The Client chooses not to display certain options
- The Client receives an option type it doesn’t recognize
type values can be custom or future variants. Custom option types MUST begin with _. Unknown non-underscore option types are reserved for future ACP variants. If a Client receives an option with an unrecognized type, it SHOULD preserve the raw option when storing, replaying, proxying, or forwarding session state, and otherwise ignore that option. The Agent keeps using its currentValue.
Setting a config option
The current value of a config option can be changed at any point during a session. Agents that advertise config options for a session MUST supportsession/set_config_option for it. Clients MUST NOT call it otherwise and MUST only send an advertised configId. Agents MUST reject an unknown configId or invalid value, including an unsupported value type or a type that doesn’t match the option, with -32602 and leave the configuration unchanged.
Whether a change made while foreground work is active applies to that work or only to later work is up to the Agent. The response’s configOptions is the complete list as of the response, and Clients replace their list with it. It may report a currentValue different from the one requested, for example when the Agent adjusted the value or another change applied concurrently. Clients apply responses and config_option_update notifications in the order received, each replacing the whole list.
From the Client
Clients can change a config option value by calling thesession/set_config_option method:
SessionId
required
The ID of the session
string
required
The
configId of the configuration option to change"id" | "boolean"
required
The shape of the value. Use
id for select and other id-based options. Use
boolean for boolean options.string | boolean
required
The new value to set. For
select options, this MUST be one of the values
listed in the option’s options array. For boolean options, this MUST
be a boolean.type: "boolean" with a boolean value:
The response always contains the complete configuration state, so Agents
can report dependent changes. For example, changing the model may change the
available reasoning options.
From the Agent
Agents SHOULD send aconfig_option_update session notification on each connection where the session is active whenever configuration state changes, including changes requested through session/set_config_option.
The response remains the source of truth for the requesting Client, which may
also receive a duplicate notification. Agents SHOULD send that duplicate before
the response and notifications for subsequent changes after it.
- Switching modes after the user approves a completed plan, or as the user’s policy allows
- Falling back to a different model due to rate limits or errors
- Adjusting available options based on context discovered during execution