read_file
Read a file (up to 1 MiB). Text comes back as text; other bytes as base64 with encoding='base64'. Works on your workspaces and any public one. For larger files use get_file_link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file to read, like 'drafts/report.md'. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| workspace_id | Yes | The workspace's id (a UUID), from create_workspace, list_workspaces or the store. |