Text prefix suffix check

text-prefix-suffix-check · version 1.0.0 · Text · free, no key needed

Exact prefix and/or suffix boolean checks using JS string startsWith/endsWith.

Use when you need to: text prefix check · text suffix check · starts with.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "ComputeFirst",
  "prefix": "Compute",
  "suffix": "First"
}

Response:

{
  "result": {
    "starts_with": true,
    "ends_with": true
  }
}

How to call it

MCP

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

{
  "id": "text-prefix-suffix-check",
  "version": "1.0.0",
  "input": {
    "text": "ComputeFirst",
    "prefix": "Compute",
    "suffix": "First"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/text-prefix-suffix-check/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"ComputeFirst","prefix":"Compute","suffix":"First"}'

The machine-readable contract is at /v1/tools/text-prefix-suffix-check/versions/1.0.0.

CLI

node cli.mjs run text-prefix-suffix-check 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.