Call via POST http://127.0.0.1:3000/download_file_record_stream (JSON params as the body) or WebSocket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
file |
string | – | 文件路径(限 stream 临时目录)/ http(s) URL | |
file_id |
string | – | 文件 ID(缓存的图片/语音 id) | |
chunk_size |
int | – | 分块大小(字节,默认 64KB) |
流式帧:file_info → file_chunk* → file_complete
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.