Show one string's translations
get_phraseUse this when someone asks how one exact key is translated, in every language or in one. Returns that key's text per locale, up to 24 locales and 2,000 characters each, with machine-translation flags and the projects sharing it, and renders a phrase card. Not for searching keys by text.
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": {
"project": "<project>",
"key": "<key>"
},
"name": "get_phrase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Exact key, matched case-sensitively | |
| project | Yes | Project name; an id matches nothing | |
| language | No | One locale code such as en or it; every language when absent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| status | Yes | ||
| project | Yes | ||
| translations | Yes | One row per locale, up to 24, values cut to 2,000 characters; projects lists every project sharing the row | |
| translationCount | Yes | ||
| translationsTruncated | Yes |