datadata transform

Data Transform

data_transform

Transforms a local CSV or JSONL file into a new output file. Supports CSV↔JSONL conversion, selecting columns, and exact-match row filtering. It never overwrites the input, and requires confirmed=true before writing. Use when: an agent has reviewed a dataset and needs a small, explicit local transformation. Scope: local filesystem. Writes only the requested new output file after confirmation. Not for: arbitrary code execution, overwriting source data, or large ETL jobs.

How to use data_transform

Provide only the required inputs below. Start with the smallest scope that answers the task, then review the risk properties before an agent executes the call.

Risk and execution properties

Read only: no

Destructive: yes

Idempotent: no

Open world: no — operates locally or through configured services

Inputs

input_pathstringrequired

Existing .csv or .jsonl source file.

output_pathstringrequired

New destination path. Must differ from input_path.

operationstringrequired

Transformation to perform.

Allowed: "csv_to_jsonl""jsonl_to_csv""filter_equals""select_columns"

columnsarray

Required for select_columns.

filter_columnstring

Required for filter_equals.

filter_valuestring

Required for filter_equals; exact string match.

confirmedbooleanrequired

Must be true to write the output file.

Example input

{
  "input_path": "<string>",
  "output_path": "<string>",
  "operation": "csv_to_jsonl",
  "columns": "<array>",
  "filter_column": "<string>",
  "filter_value": "<string>",
  "confirmed": "<boolean>"
}

Browse or search the full 74-tool reference to choose the smallest suitable capability.

Browse all tools →