Skip to content
Developer Preview

ApprovalOrigin

What triggered a tool action, shown so the user can judge it. It is display-only and untrusted, and policy rules never match on it.

  • command
  • kind
  • url
Source

schema/msp/experimental/msp.schema.json#/types/ApprovalOrigin

{
"description": "What triggered a tool action, shown so the user can judge it. It is\ndisplay-only and untrusted, and policy rules never match on it.",
"properties": {
"command": {
"description": "The shell command whose process asked for the action. Present when\n`kind` is `shellCommand`.",
"type": "string"
},
"kind": {
"description": "Which kind of origin this is: `shellCommand` or `url`.",
"type": "string"
},
"url": {
"description": "The full URL a fetch tool is requesting. Present when `kind` is `url`.",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
}