Skip to main content

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

1

Simple Usage

2

With Configuration

Use the same tool with an agent — see Usage with Agent below, or pass env vars and options from the sections above.

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

Inspect column names before querying so the agent references real fields, not guesses.
For big CSVs, process in chunks so memory stays bounded.
Confirm row shape before write so you don’t corrupt an existing file.

JSON

JSON files

Pandas

Data analysis

File

General files