SessionSetApprovalModeResult
session/setApprovalMode result. Applies next-action — an
in-flight tool action’s pending approval is not retroactively decided by a
mode change.
Fields and variants
Section titled “Fields and variants”applyOutcomecommandIdeffectiveModestatus
Source
schema/msp/experimental/msp.schema.json#/types/SessionSetApprovalModeResult
{ "description": "`session/setApprovalMode` result. Applies next-action — an\nin-flight tool action's pending approval is not retroactively decided by a\nmode change.", "properties": { "applyOutcome": { "$ref": "#/$defs/ApprovalModeApplyOutcome", "description": "Whether the change did anything." }, "commandId": { "description": "Echoes the client's id.", "type": "string" }, "effectiveMode": { "$ref": "#/$defs/EffectiveApprovalModeState", "description": "The folded effective-mode projection — the same object the `Session`\ncarries as `approvalMode`." }, "status": { "$ref": "#/$defs/CommandStatus", "description": "Admission status." } }, "required": [ "applyOutcome", "commandId", "effectiveMode", "status" ], "type": "object"}