SessionSetApprovalRulesParams
Experimental
session/setApprovalRules params: replace the
session’s client-origin rule set wholesale. A standard command, and —
following ADR 44483 D2 — only the driving connection may call it.
Fields and variants
Section titled “Fields and variants”commandId— Experimentalrules— ExperimentalsessionId— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/SessionSetApprovalRulesParams
{ "description": "`session/setApprovalRules` params: replace the\nsession's client-origin rule set wholesale. A standard command, and —\nfollowing ADR 44483 D2 — only the driving connection may call it.", "properties": { "commandId": { "description": "The idempotency handle (UUIDv7).", "type": "string" }, "rules": { "description": "The complete new set (an empty array clears it). The requesting actor\nis recorded from the connection's `clientInfo.name`.", "items": { "$ref": "#/$defs/ClientApprovalRule" }, "type": "array" }, "sessionId": { "description": "The target session.", "type": "string" } }, "required": [ "commandId", "rules", "sessionId" ], "type": "object", "x-msp-descriptor": "session/setApprovalRules", "x-msp-stability": "experimental"}