Slack 是做什麼的?
使用 slack 工具。從上下文中重複使用已有的 channelId 和 Slack 時間戳記訊息 ID。
輸入
channelId:Slack 頻道 ID。messageId:Slack 時間戳記,例如1712023032.1234。to:channel:<id>或user:<id>,用於發送訊息。emoji:Unicode 或:name:格式,用於回應表情。
動作
{ "action": "sendMessage", "to": "channel:C123", "content": "Hello" }
{ "action": "readMessages", "channelId": "C123", "limit": 20 }
{
"action": "react",
"channelId": "C123",
"messageId": "1712023032.1234",
"emoji": ":white_check_mark:"
}
{ "action": "reactions", "channelId": "C123", "messageId": "1712023032.1234" }
{
"action": "editMessage",
"channelId": "C123",
"messageId": "1712023032.1234",
"content": "Updated text"
}
{ "action": "deleteMessage", "channelId": "C123", "messageId": "1712023032.1234" }
{ "action": "pinMessage", "channelId": "C123", "messageId": "1712023032.1234" }
{ "action": "unpinMessage", "channelId": "C123", "messageId": "1712023032.1234" }
{ "action": "listPins", "channelId": "C123" }
{ "action": "memberInfo", "userId": "U123" }
{ "action": "emojiList" }
安全性
- 當上下文不明確時,請確認破壞性刪除操作。
- 保持傳出訊息簡潔,避免使用 Markdown 表格。
- 優先使用執行緒/訊息 ID,而非模糊的頻道名稱。