create_or_update_translations
Creates a new translation key with provided translations, or updates translations if the key already exists.
Instructions
Create a key if it doesn't exist and set its translations. If the key already exists, update its translations.
Args:
project_id: The numeric ID of the project.
key_name: The key name.
translations: Dict mapping language tags to translation text values.
namespace: Optional namespace for the key.
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_id": "<project_id>",
"key_name": "<key_name>",
"translations": "<translations>"
},
"name": "create_or_update_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| key_name | Yes | ||
| translations | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |