What does read_file do in Cerewro?
read_file allows Cerewro's AI to read the content of any file in the workspace. Once read, the AI can answer questions about the content, extract columns, transform data or generate a summary.
Cerewro Chat — Read and analyze
Read the file sales_2025.csv and tell me which month had the most sales
Compatible file types
| Format | What Cerewro can do |
|---|---|
.txt / .log | Read and filter lines by pattern |
.csv | Extract columns, calculate totals, filter rows |
.json | Navigate structure, extract values, transform |
.xlsx | Read sheets, get data from specific cells |
.docx | Extract text, sections and paragraphs |
.pdf | Extract text from the document |
Example: analyze log
Read error.log and give me the last 20 lines with ERROR or CRITICAL level
Note: For very large files,
read_file can receive a character limit parameter. The AI will process the most relevant part or ask to split the query.