session/resume
Loads a stored session on this host, auto-subscribes this connection, and returns the history needed to render it.
Parameters
Section titled “Parameters”Type: SessionResumeParams
session/resume params.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
commandId |
string |
required | The idempotency handle (UUIDv7). A resume that loads a session writes a durable SessionResumed record. |
|
cursor |
string | null |
optional | A view cursor previously observed by this client — or an observed summarizedThrough compaction anchor. When present the server returns only the suffix and history.mode is none. Omitted and explicit null both mean “no cursor”. |
|
excludeItems |
boolean |
optional | Return only session metadata and live resume state; page history separately with view/page. Default false. |
|
history |
HistoryPreference | optional | History mode preference, default auto. A PREFERENCE, not a budget override: when the requested mode does not fit the history budget the server downgrades it and history.mode reports what was actually served. Ignored when cursor or excludeItems makes it moot. |
|
sessionId |
string |
required | The session to load. |
Source
schema/msp/experimental/msp.schema.json#/methods/session~2Fresume
{ "description": "Loads a stored session on this host, auto-subscribes this connection, and returns the history needed to render it.", "params": { "$ref": "#/$defs/SessionResumeParams" }, "result": { "$ref": "#/$defs/SessionResumeResult" }}