files_download
Download a Nextcloud file by path in chunks of up to 8 MiB; continue with next_offset while truncated is true to retrieve the complete file.
Instructions
Download a file of any size in chunks; repeat with next_offset while truncated is true.
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": "files_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file to download, e.g. /Docs/scan.pdf | |
| offset | No | Byte offset; continue with next_offset from the prior chunk | |
| chunk_bytes | No | Bytes in this chunk; default and maximum 8 MiB |