ExperimentalThe working directory to resolve options for. Must be an absolute path.
OptionaladditionalAdditional workspace roots to resolve options for. Each path MUST be absolute.
Optional. Omitted and null are equivalent to an empty list.
OptionalsessionThe session to resolve options for.
Optional. Omitted and null are equivalent and mean a new session. When present,
the Agent returns what session/resume with the same cwd and
additionalDirectories would return, with the same cwd rules. A session the
Agent does not know gets -32002.
Optional_The _meta property is reserved by ACP to allow Clients and Agents to attach additional
metadata to their interactions. Omitted and null are equivalent and mean no metadata.
Implementations MUST NOT assign meaning to keys they do not recognize.
See protocol docs: Extensibility
UNSTABLE
This capability is not part of the spec yet, and may be removed or changed at any point.
Request parameters for
session/options, which returns the config options a session would start with, without creating or resuming a session.Only available if the Agent supports the
session.optionscapability.session/optionsMUST NOT create or resume a session, sendsession/updatenotifications, add an entry tosession/list, or change an existing session. Agents SHOULD NOT connect to MCP servers to answer it. Agents MAY start their runtime to resolve the options. The rules above still hold for it.