CSV select columns

csv-select-columns · version 1.0.0 · CSV & tables · free, no key needed

Select and reorder exact named columns from a complete CSV document.

Use when you need to: csv select columns · select csv columns · reorder csv columns.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "csv": "name,city,note\nAda,London,\"hello, world\"\n",
  "columns": [
    "note",
    "name"
  ]
}

Response:

{
  "result": "note,name\n\"hello, world\",Ada\n"
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "csv-select-columns",
  "version": "1.0.0",
  "input": {
    "csv": "name,city,note\nAda,London,\"hello, world\"\n",
    "columns": [
      "note",
      "name"
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/csv-select-columns/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"csv":"name,city,note\nAda,London,\"hello, world\"\n","columns":["note","name"]}'

The machine-readable contract is at /v1/tools/csv-select-columns/versions/1.0.0.

CLI

node cli.mjs run csv-select-columns 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.