chat_command
Execute a Slack slash command in a channel by specifying the command and optional arguments.
Instructions
Execute a slash command (legacy undocumented).
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>",
"command": "<command>"
},
"name": "chat_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Arguments passed to the slash command. | |
| channel | Yes | ID of the channel in which to run the command (e.g. ``C0123``). | |
| command | Yes | The slash command to execute, including the leading slash (e.g. ``/remind``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||