download_file
Download a remote file from Cloudreve to a local directory. Specify the remote path and optionally a relative local path to rename or organize the file.
Instructions
Download a remote file into the configured download root (default local app data). local_path is relative to that root.
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": {
"path": "<path>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote file path or File URI | |
| local_path | No | Relative path under download_root. Empty or directory-like values keep the remote filename. |