Text Ellipsis
text_ellipsisCut one Helvetica line so it fits a width, ending with an ellipsis (…) when the text is too long. The ellipsis is the WinAnsi character. If the whole line already fits, it is returned unchanged. If even the ellipsis is wider than the measure, the call is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/text-ellipsis
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"width": "<width>"
},
"name": "text_ellipsis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | helvetica | |
| size | No | 12 | |
| text | Yes | ||
| width | Yes |