slack_api
Call Slack Web API methods through Slack CLI with HTTP fallback to send messages, fetch conversation history, or verify authentication.
Instructions
Call a Slack Web API method via Slack CLI (slack api family.method key=value) with HTTP API fallback. Example method: chat.postMessage, conversations.history, auth.test.
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": {
"method": "<method>"
},
"name": "slack_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| fields | No | Extra key=value fields passed to slack api | |
| method | Yes | Slack Web API method, e.g. chat.postMessage | |
| channel | No |