SLACK_SEND
Send a message to a Slack channel. Supports threading and rich Block Kit formatting.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | yes | Channel ID or name (e.g., #general or C01234ABC) |
text | string | yes | Message text (also serves as fallback for Block Kit) |
thread_ts | string | — | Thread timestamp to reply in a thread. Omit for a new message. |
blocks | string | — | Block Kit JSON string for rich formatting. Optional. |
unfurl_links | boolean | — | Enable link previews (default true) |
How to use it
You normally trigger this by describing what you want in chat — the agent selects SLACK_SEND automatically. For example:
Try saying
“send a message to the team channel”
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "slack",
"action": "SLACK_SEND",
"args": {
"channel": "…",
"text": "…"
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"SLACK_SEND","args":{"channel":"…","text":"…"}}'Part of the slack plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.