CSV replace exact

csv-replace-exact · version 1.0.0 · CSV & tables · free, no key needed

Replace CSV data cells whose entire value equals an exact find string.

Use when you need to: csv replace exact · replace exact csv cells · csv cell exact substitution.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "csv": "status,note\nok,ok\npending,ok\n",
  "find": "ok",
  "replace": "done"
}

Response:

{
  "result": {
    "csv": "status,note\ndone,done\npending,done\n",
    "replacements": 3
  }
}

How to call it

MCP

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

{
  "id": "csv-replace-exact",
  "version": "1.0.0",
  "input": {
    "csv": "status,note\nok,ok\npending,ok\n",
    "find": "ok",
    "replace": "done"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/csv-replace-exact/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"csv":"status,note\nok,ok\npending,ok\n","find":"ok","replace":"done"}'

The machine-readable contract is at /v1/tools/csv-replace-exact/versions/1.0.0.

CLI

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

Get the client at /clients/cli/.