SessionCompactParams
session/compact params: manually compact the session’s
conversation context — the /compact gesture. Compaction runs
asynchronously; the ack is admission only.
Fields and variants
Section titled “Fields and variants”commandIdsessionIdturnId
Source
schema/msp/experimental/msp.schema.json#/types/SessionCompactParams
{ "description": "`session/compact` params: manually compact the session's\nconversation context — the `/compact` gesture. Compaction runs\nasynchronously; the ack is admission only.", "properties": { "commandId": { "description": "The idempotency handle (UUIDv7).", "type": "string" }, "sessionId": { "description": "The target session.", "type": "string" }, "turnId": { "description": "The run whose context to compact. Omit and the server resolves the\nsession's current/latest run; a session with no resolvable run rejects\nwith `commandRejected` reason `missing_run`.", "type": "string" } }, "required": [ "commandId", "sessionId" ], "type": "object"}