Overview
CSV tool allows you to read, write, and query CSV files. The user points to a CSV file; the agent reads, filters, or writes rows and returns the result.Installation
Quick Start
Usage with Agent
Available Methods
read(path)
Read a CSV file.write(path, data)
Write data to a CSV file.How It Works
Best Practices
Read a schema first
Read a schema first
Inspect column names before querying so the agent references real fields, not guesses.
Stream large files
Stream large files
For big CSVs, process in chunks so memory stays bounded.
Validate before writing
Validate before writing
Confirm row shape before
write so you don’t corrupt an existing file.Related Tools
JSON
JSON files
Pandas
Data analysis
File
General files

