The working directory for this session. Must be an absolute path.
OptionaladditionalAdditional workspace roots for this session. Each path MUST be absolute.
These expand the session's workspace scope without changing cwd, which
remains the base for relative paths. When omitted or empty, no
additional roots are activated for the new session.
OptionalmcpList of MCP (Model Context Protocol) servers for the Agent to connect to.
OptionalsystemSystem-level instructions for the new session.
Optional. Omitted and null are equivalent and mean the Agent uses its
own default instructions. Clients MUST only send this when the Agent
advertises session.systemPrompt.
Optional ExperimentalconfigUNSTABLE
This capability is not part of the spec yet, and may be removed or changed at any point.
Initial values for the session's config options.
Optional. Omitted and null are equivalent to an empty list. Clients MUST only send
this when the Agent advertises session.options.
The Agent applies the entries in list order, as if the Client had called
session/set_config_option for each entry after the session was set up. Malformed
entries and duplicate configId values fail the request with -32602. The Agent MUST
ignore an entry whose configId is unknown, whose type does not match the option,
or whose value is not allowed when it is applied. The configOptions in the response contain the values the session actually
has. The Agent SHOULD NOT send config_option_update notifications for these entries,
and SHOULD NOT send other session/update notifications caused by applying them
before it responds.
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
Request parameters for creating a new session.
See protocol docs: Creating a Session