post_message
Send messages to Slack channels with support for markdown formatting, thread replies, and URL unfurling to facilitate team communication.
Instructions
Post a message to a Slack channel.
Args:
channel_id: The ID of the channel to post to (e.g., "C01234567")
text: The message text to post (supports Slack markdown)
thread_ts: Optional thread timestamp to reply in a thread
unfurl_links: Whether to unfurl text-based URLs. Default: True
unfurl_media: Whether to unfurl media URLs. Default: True
Returns:
Dictionary containing the posted message details including timestamp
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>",
"text": "<text>"
},
"name": "post_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| text | Yes | ||
| thread_ts | No | ||
| unfurl_links | No | ||
| unfurl_media | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||