Text expansion planner
plan_text_expansionPlans for translation growth. Pass strings (one UI string per line), optionally languages (two-letter codes from de, fr, es, pt, it, nl, ru, pl, fi, tr, vi, id, ar, he, hi, th, ja, ko, zh; default de, fr, es, ru, fi, ja, ar) and maxChars (the character capacity of your container). For each string returns the planned character range per language and the worst case, and flags strings that exceed maxChars. Short strings expand proportionally more than long ones, so the table applies a length boost. Factors are rule-of-thumb ranges for ordinary UI copy (convention), not measurements; CJK shrinks in characters but can grow in width and height. Run real translations before locking a layout.
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": {
"strings": "<strings>"
},
"name": "plan_text_expansion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strings | Yes | One UI string per line. | |
| maxChars | No | Character capacity of the container, optional. | |
| languages | No | Comma-separated language codes. |