Create notification rule
stack_create_notification_ruleCreate a notification rule: the event types and minimum severity that trigger a notification, and the delivery methods that receive it. One rule can target several delivery methods. Calls from MCP and API-key sessions require human approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"destination_ids": "<destination_ids>",
"events": "<events>"
},
"name": "stack_create_notification_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Event types to subscribe to (e.g. passport.flagged, agent.blocked) | |
| min_severity | No | Minimum severity threshold (default: warning) | |
| destination_ids | Yes | Delivery method IDs to notify | |
| governance_approval_id | No | Approval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, after a human approved it in the dashboard |