SessionSetApprovalRulesResult
Experimental
session/setApprovalRules result. Applies next-action — an
in-flight tool action’s pending approval is not retroactively decided by a
rules change. The set itself reads back via Session.permissionState
(ADR 47712 D6), not echoed here.
Fields and variants
Section titled “Fields and variants”applyOutcome— ExperimentalcommandId— Experimentalstatus— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/SessionSetApprovalRulesResult
{ "description": "`session/setApprovalRules` result. Applies next-action — an\nin-flight tool action's pending approval is not retroactively decided by a\nrules change. The set itself reads back via `Session.permissionState`\n(ADR 47712 D6), not echoed here.", "properties": { "applyOutcome": { "$ref": "#/$defs/ApprovalRulesApplyOutcome", "description": "Whether the change did anything." }, "commandId": { "description": "Echoes the client's id.", "type": "string" }, "status": { "$ref": "#/$defs/CommandStatus", "description": "Admission status." } }, "required": [ "applyOutcome", "commandId", "status" ], "type": "object", "x-msp-descriptor": "session/setApprovalRules", "x-msp-stability": "experimental"}