CSV and JSON tools for AI agents

Query a CSV by columns and conditions, read one part of a JSON file by path, convert between the two and check that a file is well formed.

The rows that matter, never the whole file.

CSV queries

Select columns and filter rows with conditions joined by 'and'. A filter that matches nothing shows what the column holds.

JSON by path

Ask for the shape of a file, or one value such as config.limits.max.

Convert and validate

CSV to JSON and back, keeping column order.

Ask your agent

  • “How many orders in this CSV are from Lisbon and above 500?”
  • “What is the value of settings.retries in this JSON?”

Examples of requests. Your agent chooses what to call; nothing in the request needs to mention TokenKit.

What it covers

CSV queriesJSON by pathConvert and validate

Works in the app and through your agent, inside the folders you allow. Originals are never changed.

What we measured

For one-line look-ups an agent's own shell is at least as good: in our control task a single shell command beat any tool call. TokenKit says so in its own instructions to agents. Benchmarks.

Where it stops

  • Not a database: one file per query.
  • For a quick look-up, your agent's shell is the shorter path.