read_file
Read text files from an unlocked Cryptomator vault, retrieve long files in parts with offset and max character limits, and log the reason for access. Binary files are not returned as text.
Instructions
Read a text file from an open vault. purpose: a few words on why (kept in the log). offset and max_chars read a long file in parts. Pictures and other binary files aren't returned as text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A path inside the vault, from its top, for example 'Taxes/2025/receipts.md'. | |
| vault | Yes | The vault's name, as listed by the vaults tool, for example 'Taxes'. | |
| offset | No | Where to start reading, in characters from the start of the file. Use it to read a long file in parts. | |
| purpose | Yes | A few words on why, shown to the user or kept in the vault's change log. | |
| max_chars | No | The most characters to return at once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |