draft_message
Preview a Slack message for a public channel, get a confirmation token, then send after approval. Validates channel without sending.
Instructions
Prepare a message for sending and return a preview + confirmation token.
THIS DOES NOT SEND ANYTHING. It validates the target is a public channel,
renders exactly what would be posted, and returns a one-time
confirmation_token. To actually post, the user must review this preview and
then call send_message(confirmation_token=...). Always show the user this
preview and get their explicit approval before calling send_message.
Args: channel: Channel id or "#name". Must be a public channel. text: The exact message text to post. thread_ts: Optional thread root timestamp to reply in a thread.
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": "draft_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| channel | Yes | ||
| thread_ts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||