Read synced text file
drive_read_fileRead UTF-8 text files up to 1 MB from a synced Proton Drive folder. Use for quick access to synced notes or configs; binary or larger files need the download tool.
Instructions
Read a UTF-8 text file (max 1 MB) from the local Proton Drive sync folder. Requires PROTON_DRIVE_SYNC_PATH pointing at the sync root, the desktop app running and the file synced. Binary, non-UTF-8 or larger files error — use drive_download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute remote Drive path of the file to read (must start with '/'). /my-files/<rest> maps to <PROTON_DRIVE_SYNC_PATH>/<rest>; only /my-files is synced, other Drive roots are rejected. A path not starting with a Drive root is taken relative to the sync folder. E.g. /my-files/notes.txt |