Read project file
fastero_read_fileRead an uploaded project file's contents. Text types (CSV, TSV, plain text, Markdown, HTML, XML, JSON, YAML) come back as text with encoding utf8; anything else, such as a spreadsheet, PDF, PNG, or a .py or .sql file, comes back whole and unparsed as base64 with its mimeType. A file over 1 MB is refused, saying its size. The first read of a file Fastero's assistant produced (a workbook, Word document, PDF or slides) counts against the plan's AI file downloads, and is refused once they are used up. A Python project's files are read with fastero_read_python_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | An uploaded file’s id, from fastero_list_files. | |
| projectId | Yes | The project’s id, from fastero_list_projects. |