send_packet

send_packet写操作扩展
发送原始 SSO 包(cmd + hex data)
别名:.send_packet

Call via POST http://127.0.0.1:3000/send_packet (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
cmd string
data string ""
rsp bool true

Returns (data)

Returns the standard OneBot envelope; the data shape is not yet documented.

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/send_packet \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"cmd":"","data":"","rsp":true}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.