sockdock_list_channels
Lists Slack channels the app has been added to so you can pick or verify a valid channel before saving a rule. If a channel is missing, invite the app there first.
Instructions
Lists the Slack channels the Slack app has been added to; a rule can only use one of these. Use it before sockdock_save_rule to pick or check a channel. If the list is empty or lacks the channel the user wants, the Slack app has not been added there: ask the user to type /invite in that channel. A problem of missing_scope means the Slack app lacks channels:read/groups:read; then pass a channel ID instead. The first entry, dm, stands for DMs to the Slack app; its problem missing_scope means the Slack app lacks im:history (ask the user to add it with the message.im event and the Messages tab, and reinstall).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sockdock_list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | No | why the list is incomplete, e.g. missing_scope (add channels:read and groups:read to the Slack app) | |
| channels | Yes |