Text split exact

text-split-exact · version 1.0.0 · Text · free, no key needed

Split text on an exact literal separator and reject results that exceed max_parts.

Use when you need to: text split exact · split text on exact separator · exact substring split.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "a,b,c",
  "separator": ",",
  "max_parts": 10
}

Response:

{
  "result": {
    "parts": [
      "a",
      "b",
      "c"
    ]
  }
}

How to call it

MCP

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

{
  "id": "text-split-exact",
  "version": "1.0.0",
  "input": {
    "text": "a,b,c",
    "separator": ",",
    "max_parts": 10
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/text-split-exact/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"a,b,c","separator":",","max_parts":10}'

The machine-readable contract is at /v1/tools/text-split-exact/versions/1.0.0.

CLI

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

Get the client at /clients/cli/.