getTranslationForKey
Retrieve translation text for a specific key in a Weblate project component and language.
Instructions
Get translation value for a specific key in a project
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": {
"projectSlug": "<projectSlug>",
"componentSlug": "<componentSlug>",
"languageCode": "<languageCode>",
"key": "<key>"
},
"name": "getTranslationForKey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectSlug | Yes | The slug of the project | |
| componentSlug | Yes | The slug of the component | |
| languageCode | Yes | The language code (e.g., en, es, fr) | |
| key | Yes | The translation key to look up |