download_file
Downloads a file from a URL or base64 data to the server's data/downloads temporary directory and returns the stored server path, not a local MCP host path.
Instructions
下载文件(url 或 base64)到 data/downloads 保存到 SnowLuma 服务端临时目录,返回服务端路径;不是 MCP 主机下载路径。 Returns: { file }
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| base64 | No | ||
| headers | No |