diff --git a/docs/slack.md b/docs/slack.md index abf7d93cb..e4150c4a4 100644 --- a/docs/slack.md +++ b/docs/slack.md @@ -108,13 +108,13 @@ Slack uses Socket Mode only (no HTTP webhook server). Provide both tokens: }, "reactionNotifications": "own", "reactionAllowlist": ["U123"], - "actions": { - "reactions": true, - "messages": true, - "pins": true, - "memberInfo": true, - "emojiList": true - }, + "actions": { + "reactions": true, + "messages": true, + "pins": true, + "memberInfo": true, + "emojiList": true + }, "slashCommand": { "enabled": true, "name": "clawd", diff --git a/skills/slack/SKILL.md b/skills/slack/SKILL.md index 8f27ed886..9f157f25e 100644 --- a/skills/slack/SKILL.md +++ b/skills/slack/SKILL.md @@ -14,7 +14,6 @@ Use `slack` to react, manage pins, send/edit/delete messages, and fetch member i - `channelId` and `messageId` (Slack message timestamp, e.g. `1712023032.1234`). - For reactions, an `emoji` (Unicode or `:name:`). - For message sends, a `to` target (`channel:` or `user:`) and `content`. -- For searches, a `query` (optionally `channelIds` or `channelNames`). Message context lines include `slack message id` and `channel` fields you can reuse directly. diff --git a/ui/src/ui/tool-display.json b/ui/src/ui/tool-display.json index b6a28f60f..db86e2267 100644 --- a/ui/src/ui/tool-display.json +++ b/ui/src/ui/tool-display.json @@ -192,6 +192,23 @@ "kick": { "label": "kick", "detailKeys": ["guildId", "userId"] }, "ban": { "label": "ban", "detailKeys": ["guildId", "userId"] } } + }, + "slack": { + "emoji": "💬", + "title": "Slack", + "actions": { + "react": { "label": "react", "detailKeys": ["channelId", "messageId", "emoji"] }, + "reactions": { "label": "reactions", "detailKeys": ["channelId", "messageId"] }, + "sendMessage": { "label": "send", "detailKeys": ["to", "content"] }, + "editMessage": { "label": "edit", "detailKeys": ["channelId", "messageId"] }, + "deleteMessage": { "label": "delete", "detailKeys": ["channelId", "messageId"] }, + "readMessages": { "label": "read messages", "detailKeys": ["channelId", "limit"] }, + "pinMessage": { "label": "pin", "detailKeys": ["channelId", "messageId"] }, + "unpinMessage": { "label": "unpin", "detailKeys": ["channelId", "messageId"] }, + "listPins": { "label": "list pins", "detailKeys": ["channelId"] }, + "memberInfo": { "label": "member", "detailKeys": ["userId"] }, + "emojiList": { "label": "emoji list" } + } } } }