Text Truncate

Text REST API MCP

Truncate text to a max length, optionally at the last word boundary, with a suffix.

This page documents the HTTP endpoint POST /api/tools/text-truncate/execute. See the MCP reference →

View as Markdown

Call it over REST

POST https://api.findutils.com/api/tools/text-truncate/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/text-truncate/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "hello world",
    "max_length": 5
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/text-truncate

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
text string yes Text to truncate.
length integer no Max characters in output. Defaults to 100. Default: 100.
suffix string no Appended when truncation occurs. Defaults to "...". Default: "...".
word_boundary boolean no Cut at last space before limit. Defaults to true. Default: true.

Example arguments (verified)

{
  "text": "hello world",
  "max_length": 5
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:text_truncate after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Text Truncate →

More Text tools