Read file
read_fileRead a file from Nextcloud as UTF-8 text, or request base64 for binary files. Oversized files are refused rather than truncated.
Instructions
Read a file from Nextcloud. Text is returned as UTF-8. Binary files are refused unless encoding is base64. Files larger than the server read limit are refused rather than truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to the Nextcloud files root. | |
| encoding | No | Omit for UTF-8 text. Pass "base64" for binary files. Text mode refuses binary payloads. |