Get translations
get_translationsGet translations for a specific key in a Tolgee project. Returns translations in all project languages, or only the specified languages if provided.
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": {
"keyName": "<keyName>"
},
"name": "get_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Optional: branch name | |
| keyName | Yes | The translation key name | |
| languages | No | Optional: language tags to filter by (e.g. ['en', 'de']). If omitted, returns all languages. | |
| namespace | No | Optional: namespace of the key | |
| projectId | No | ID of the project. Can be left out when the credential is bound to one project: a project API key, or an OAuth token for one project. |