Call via POST http://127.0.0.1:3000/send_private_msg (JSON params as the body) or WebSocket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
user_id |
uint | ✓ | ||
message |
message | ✓ | ||
auto_escape |
bool | – | false |
{ message_id: number }
Returns the standard OneBot envelope; the data shape is not yet documented.
MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.