download_file_image_stream
Streams image downloads from a cached image ID, URL, or stream-directory file, returning file info, data chunks, and completion frames for incremental processing.
Instructions
以流式方式下载图片(缓存图片 id / URL / stream 目录本地文件) file_id 来自当前账号图片消息;经 invoke_action 调用。 Returns: 流式帧:file_info → file_chunk* → file_complete
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "download_file_image_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | 文件路径(限 stream 临时目录)/ http(s) URL | |
| file_id | No | 文件 ID(缓存的图片/语音 id) | |
| chunk_size | No | 分块大小(字节,默认 64KB) |