The ID of the session to resume.
The working directory for this session. Must be an absolute path.
Clients MUST send the session's working directory. Agents MAY reject a different directory
with -32602, and MAY normalize paths when comparing.
OptionaladditionalAdditional workspace roots to activate for this session. Each path MUST be absolute.
When omitted or empty, no additional roots are activated. When non-empty,
this is the complete resulting additional-root list for the resumed
session. It MAY differ from any previously used or reported list as long as
the request cwd matches the session's cwd.
OptionalmcpList of MCP servers to connect to for this session.
The complete set of Client-provided servers. Omitted and [] mean none. Agents SHOULD
NOT restore servers from earlier requests.
OptionalreplayInclusive cursor describing where conversation replay begins.
Optional. Omitted and null are equivalent, and the Agent MUST NOT replay
previous conversation history. Replay cursors are inclusive:
replay includes the position identified by the cursor. Supplying
{ "type": "start" } means the Agent MUST replay all retained
conversation history before responding.
Agents MUST reject unsupported cursor types or malformed cursor values
with -32602 (Invalid params), rather than substituting another cursor
or resuming without replay.
OptionalsystemSystem-level instructions for the resumed session.
Optional. Omitted and null are equivalent. The Agent MAY then keep a
system prompt it stored with the session or use its default instructions.
Clients MUST only send this when the Agent advertises
session.systemPrompt, and SHOULD send the same value they used when the
session was created.
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
on the requesting connection. If the session is active on other connections, the
Agent SHOULD send config_option_update on those connections.
The Agent applies the entries before it replays history for replayFrom and 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 resuming an existing session.
Resumes an existing session and optionally replays retained conversation history according to
replayFrom.