download_media
Save images, voice, video, or files from a QQ message or direct URL to the server and return the local path for other tools to send or post.
Instructions
Save the image/voice/video/file of a message (or any URL) on the server and return its local path, which other tools (send_file, send_qzone_msg images…) accept.
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_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Or a direct URL | |
| name | No | File name to save as | |
| index | No | Which media segment (0-based) | |
| message_id | No | Message with the media |