Download file
nextcloud_download_fileDownload a file from Nextcloud and stream it directly to a local path, so large files save without loading into the conversation. Returns the saved path and size.
Instructions
Download a file from Nextcloud.
The file is streamed to 'output_path' on this computer; its content is NOT loaded into the conversation, so this works for large files. Returns the saved path and size.
To just read a document's text, nextcloud_read_file is the better choice.
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>",
"output_path": "<output_path>"
},
"name": "nextcloud_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, relative to the user's Nextcloud root, e.g. '/Documents/Offers/offer-4711.pdf' | |
| output_path | Yes | Absolute local path to save to, e.g. '/Users/me/Downloads/report.pdf'. If it is an existing folder, the file keeps its Nextcloud name inside it. |