download
Retrieve a file or entire folder recursively from a Nextcloud server to a local machine by specifying the server path and absolute local destination.
Instructions
Download a file or a whole folder (recursively, parallel) to this machine. local_path is the target file, or an existing folder / path ending with '/' to download into.
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>",
"local_path": "<local_path>"
},
"name": "download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or folder path on the server | |
| overwrite | No | Replace local files that already exist | |
| local_path | Yes | Absolute local destination |