send_slack_notification
Send customizable Slack notifications to channels or users via webhook, with support for titles, messages, priority levels, and color-coded attachments.
Instructions
Send a Slack notification via webhook
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": {
"title": "<title>",
"message": "<message>"
},
"name": "send_slack_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Color for the message attachment | info |
| title | Yes | The notification title | |
| channel | No | Slack channel to send to (e.g., #general, @username) | |
| message | Yes | The notification message | |
| priority | No | Notification priority level | normal |
| username | No | Bot username for the message | Claude Code |
| icon_emoji | No | Emoji icon for the bot (e.g., :robot_face:) | :robot_face: |
| webhook_url | No | Slack webhook URL (optional if configured globally) |