post_command
Post a command to a Slack channel using channel ID, command, and text. Triggers slash commands or bot actions directly in the workspace.
Instructions
Post a command to a channel.
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>",
"command": "<command>",
"text": "<text>"
},
"name": "post_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| command | Yes | ||
| skip_log | No | ||
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |