Skip to content
Developer Preview

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.

  • applyOutcome — Experimental
  • commandId — Experimental
  • status — 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"
}