Post Slack Message
slack_post_messagePost a message to a Slack channel or direct message. Supports channel names, IDs, and user IDs.
Instructions
Post a new message to a Slack channel or direct message to user. Accepts both channel names (#general, general) and channel IDs (C1234567890).
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": "<channel>",
"text": "<text>"
},
"name": "slack_post_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | The channel name (e.g., #general, general) or channel ID (e.g., C1234567890) to post to. Also accepts user IDs for direct messages. | |
| text | Yes | The message text to post |