Test Notification Channel
test_notification_channelSend a test message to a notification channel by its id (POST /api/reports/cost-dashboard/notification-channels/{id}/test). SIDE-EFFECTING — this dispatches a REAL test message to the channel destination (a real Slack/Teams post or email), so recipients will see it. Returns { success, message }. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "channel_id": "chan-123", "confirm": true } sends a real test message.
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": {
"channel_id": "<channel_id>"
},
"name": "test_notification_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side. | |
| channel_id | Yes | The id of the channel to test (substituted into POST /api/reports/cost-dashboard/notification-channels/{id}/test). |