ExperimentalThe ID of the session to fork.
The working directory for this session. Must be an absolute path.
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 forked session.
OptionalmcpList of MCP servers to connect to for this session.
Optional_The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.
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 forking an existing session.
Creates a new session based on the context of an existing one, allowing operations like generating summaries without affecting the original session's history.
Only available if the Agent supports the
session.forkcapability.