Text Truncator
Quickly cut text to the given length
API Documentation
Request Endpoint
POST /en/api/tools/text-truncator
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | - |
| maxLength | number | Yes | - |
| truncateFrom | select | Yes | - |
| addEllipsis | checkbox | No | - |
| preserveWords | checkbox | No | - |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-text-truncator": {
"name": "text-truncator",
"description": "Quickly cut text to the given length",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-truncator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]