add_translation_memory_entry
Add a new entry to the translation memory.
Use this to store approved translations so they are reused in future
localizations.
Args:
source_text: The original text.
target_text: The approved translation.
source_language_code: Source language code (e.g. "en").
target_language_code: Target language code (e.g. "fr-FR").
name: Optional label for this entry (e.g. "homepage hero copy").
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": {
"source_text": "<source_text>",
"target_text": "<target_text>",
"source_language_code": "<source_language_code>",
"target_language_code": "<target_language_code>"
},
"name": "add_translation_memory_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label for this entry (e.g. "homepage hero copy"). | |
| source_text | Yes | The original text. | |
| target_text | Yes | The approved translation. | |
| source_language_code | Yes | Source language code (e.g. "en"). | |
| target_language_code | Yes | Target language code (e.g. "fr-FR"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |