Read file
nextcloud_read_fileDownload a specific file from Nextcloud by path and return its contents base64-encoded, enabling retrieval for processing, backup, or transfer.
Instructions
Download one file; the bytes come back base64-encoded.
GET /remote.php/dav/files/{user}/{path}
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": "nextcloud_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |