add_translation_memory_entry
Store approved translations in a memory database to reuse them for future localization tasks, ensuring consistency across projects.
Instructions
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 | ||
| source_text | Yes | ||
| target_text | Yes | ||
| source_language_code | Yes | ||
| target_language_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |