You're viewing a demo portfolio

Join the waitlist
PRSM

text_truncate_ellipsis

Active

Tool of WingmanProtocol Agent Gateway

declared in 1.5.1

Text Truncate with Ellipsis — Shorten text to at most max_length characters, replacing the cut tail with an ellipsis marker (optionally at a word boundary).

Parameters schema

{
  "type": "object",
  "required": [
    "text",
    "max_length"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "Text to truncate"
    },
    "ellipsis": {
      "type": "string",
      "description": "Ellipsis marker (default the single-char U+2026 '…')"
    },
    "max_length": {
      "type": "integer",
      "description": "Maximum output length in characters"
    },
    "word_boundary": {
      "type": "boolean",
      "description": "Cut at the last whitespace before the limit instead of mid-word (default false)"
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

WingmanProtocol Agent Gateway

https://github.com/WingmanProtocol-Agent-Gateway/wingman-agent-gateway

1/7 registries
View full server →