download_file
Download files from a URL to a specified path, with optional renaming for easier file management.
Instructions
控制浏览器下载文件到指定路径
Args: url (str): 文件的URL地址 path (str): 文件保存的路径 rename (str): 重命名文件名
Returns: str: 下载结果信息
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"path": "<path>",
"rename": "<rename>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | Yes | ||
| rename | Yes |