fetch_file
Retrieve a stored file by name, decrypted, returning base64-encoded bytes and content type for saving. Use list_files first to find the exact file name.
Instructions
Retrieve one of the user's stored files, decrypted, by name.
Files live separately from notes. Call list_files first to find the name.
Returns the file's bytes as base64 in data_base64 along with its
name and content_type; to save it, decode the base64 and write the
bytes to disk (for example echo <data_base64> | base64 -d > <name>).
Very large files are not inlined; retrieve those from the web console or the
REST /file/download endpoint instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The exact file name to retrieve, as shown by list_files. | |
| folder | No | The folder the file is in. Leave empty for the default space. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||