发送群公告
send_group_noticePublish announcements to QQ groups, with options for pinning, images, and member confirmation. Requires bot's announce permission.
Instructions
在群内发布公告。需要机器人具有发公告权限(NapCat 专用动作 _send_group_notice)。
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": {
"group_id": "<group_id>",
"content": "<content>"
},
"name": "send_group_notice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 公告类型 | |
| image | No | 公告附带图片URL | |
| pinned | No | 是否置顶 | |
| content | Yes | 公告内容 | |
| group_id | Yes | 群号 | |
| confirm_required | No | 成员是否需要确认 |