session/rename
Sets or changes the durable allocated session name through the runtime session_name command; withheld under the ephemeral profile.
Parameters
Section titled “Parameters”Type: SessionRenameParams
session/rename params: set or change the durable
allocated session name through the runtime session_name command. One
writer; withheld under the ephemeral profile.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
commandId |
string |
required | The idempotency handle (UUIDv7). | |
name |
string |
required | The requested name; the runtime’s normalization and validation apply. | |
sessionId |
string |
required | The target session. |
Source
schema/msp/experimental/msp.schema.json#/methods/session~2Frename
{ "description": "Sets or changes the durable allocated session name through the runtime session_name command; withheld under the ephemeral profile.", "params": { "$ref": "#/$defs/SessionRenameParams" }, "result": { "$ref": "#/$defs/SessionRenameResult" }}