读 / 改群公告
feishu_chat_announcementRead or update a Feishu group's top announcement: fetch current content, replace it entirely, or append new text. Requires the bot to be group owner or admin for changes.
Instructions
群公告是群顶部那条所有人都能看到的说明。action=get 读现有内容;action=set 改写(mode=replace 整段替换,mode=append 接在末尾)。改公告需要机器人是群主或管理员。
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": {
"action": "<action>",
"chat_id": "<chat_id>"
},
"name": "feishu_chat_announcement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | action=set 时用:replace 整段替换(默认),append 接在末尾。 | |
| action | Yes | get 读、set 写。 | |
| chat_id | Yes | 群 id(oc_ 开头)。 | |
| content | No | action=set 必填,新公告正文(支持纯文本与换行)。 |