通过 POST http://127.0.0.1:3000/_send_group_notice(请求体为 JSON 参数)或 WebSocket 调用。
| 参数 | 类型 | 必填 | 默认 | 说明 |
|---|---|---|---|---|
group_id |
uint | ✓ | 群号 | |
content |
string | ✓ | ||
image |
string | – | "" |
|
pinned |
raw | – | ||
type |
raw | – | ||
confirm_required |
raw | – |
该动作返回标准 OneBot 信封;data 结构待补充。
支持 MCP 的客户端可直接发现并调用本动作,无需手写 HTTP。见 MCP 接入。