Slack
SLACK_SENDS_A_MESSAGE_TO_A_SLACK_CHANNEL
DEPRECATED: Posts a message to a Slack channel, direct message, or private group. Use `send_message` instead.
Remote slack
Other tools also called SLACK_SENDS_A_MESSAGE_TO_A_SLACK_CHANNEL?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "DEPRECATED: This sends raw text only, use markdown_text field. Primary textual content. Recommended fallback if using `blocks` or `attachments`. Supports mrkdwn unless `mrkdwn` is `false`.\nExamples:\n \"Hello from your friendly bot!\"\n \"Reminder: Team meeting at 3 PM today.\""
},
"parse": {
"type": "string",
"description": "Message text parsing behavior. Default `none` (no special parsing). `full` parses as user-typed (links @mentions, #channels). See Slack API docs for details.\nExamples:\n \"none\"\n \"full\""
},
"blocks": {
"type": "string",
"description": "DEPRECATED: Use `markdown_text` field instead. URL-encoded JSON array of layout blocks for rich/interactive messages. See Slack API Block Kit docs for structure.\nExample: \"%5B%7B%22type%22%3A%20%22section%22%2C%20%22text%22%3A%20%7B%22type%22%3A%20%22mrkdwn%22%2C%20%22text%22%3A%20%22Hello%2C%20world%21%22%7D%7D%5D\""
},
"mrkdwn": {
"type": "boolean",
"description": "Disable Slack's markdown for `text` field if `false`. Default `true` (allows *bold*, _italic_, etc.)."
},
"as_user": {
"type": "boolean",
"description": "Post as the authenticated user instead of as a bot. Defaults to `false`. If `true`, `username`, `icon_emoji`, and `icon_url` are ignored. If `false`, the message is posted as a bot, allowing appearance customization."
},
"channel": {
"type": "string",
"description": "ID or name of the channel, private group, or IM channel to send the message to.\nExamples:\n \"C1234567890\"\n \"general\""
},
"icon_url": {
"type": "string",
"description": "Image URL for bot's icon (must be HTTPS). Applies if `as_user` is `false`.\nExample: \"https://slack.com/img/icons/appDir_2019_01/Tonito64.png\""
},
"username": {
"type": "string",
"description": "Bot's name in Slack (max 80 chars). Applies if `as_user` is `false`.\nExamples:\n \"MyBot\"\n \"AlertBot\""
},
"thread_ts": {
"type": "string",
"description": "Timestamp (`ts`) of an existing message to make this a threaded reply. Use `ts` of the parent message, not another reply. Example: '1476746824.000004'.\nExample: \"1618033790.001500\""
},
"icon_emoji": {
"type": "string",
"description": "Emoji for bot's icon (e.g., ':robot_face:'). Overrides `icon_url`. Applies if `as_user` is `false`.\nExamples:\n \":tada:\"\n \":slack:\""
},
"link_names": {
"type": "boolean",
"description": "Automatically hyperlink channel names (e.g., #channel) and usernames (e.g., @user) in message text. Defaults to `false` for bot messages."
},
"attachments": {
"type": "string",
"description": "URL-encoded JSON array of message attachments, a legacy method for rich content. See Slack API documentation for structure.\nExample: \"%5B%7B%22fallback%22%3A%20%22Required%20plain-text%20summary%20of%20the%20attachment.%22%2C%20%22color%22%3A%20%22%2336a64f%22%2C%20%22pretext%22%3A%20%22Optional%20text%20that%20appears%20above%20the%20attachment%20block%22%2C%20%22author_name%22%3A%20%22Bobby%20Tables%22%2C%20%22title%22%3A%20%22Slack%20API%20Documentation%22%2C%20%22title_link%22%3A%20%22https%3A%2F%2Fapi.slack.com%2F%22%2C%20%22text%22%3A%20%22Optional%20text%20that%20appears%20within%20the%20attachment%22%7D%5D\""
},
"unfurl_links": {
"type": "boolean",
"description": "Enable unfurling of text-based URLs. Defaults `false` for bots, `true` if `as_user` is `true`."
},
"unfurl_media": {
"type": "boolean",
"description": "Disable unfurling of media content from URLs if `false`. Defaults to `true`."
},
"markdown_text": {
"type": "string",
"description": "PREFERRED: Write your message in markdown for nicely formatted display. Supports: headers (# ## ###), bold (**text** or __text__), italic (*text* or _text_), strikethrough (~~text~~), inline code (`code`), code blocks (```), links ([text](url)), block quotes (>), lists (- item, 1. item), dividers (--- or ***), context blocks (:::context with images), and section buttons (:::section-button). IMPORTANT: Use \\n for line breaks (e.g., 'Line 1\\nLine 2'), not actual newlines. USER MENTIONS: To tag users, use their user ID with <@USER_ID> format (e.g., <@U1234567890>), not username. \nExamples:\n \"# Status Update\\n\\nSystem is **running smoothly** with *excellent* performance.\\n\\n```bash\\nkubectl get pods\\n```\\n\\n> All services operational ✅\"\n \"## Daily Report\\n\\n- **Deployments**: 5 successful\\n- *Issues*: 0 critical\\n- ~~Maintenance~~: **Completed**\\n\\n---\\n\\n**Next**: Monitor for 24h\""
},
"reply_broadcast": {
"type": "boolean",
"description": "If `true` for a threaded reply, also posts to main channel. Defaults to `false`."
}
}
}