Truncate to a grapheme budget
bpj_truncate_grapheme_budgetTruncate at a grapheme boundary and count the ellipsis inside the supplied limit.
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>",
"limit": "<limit>"
},
"name": "bpj_truncate_grapheme_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| limit | Yes |