delete_translation
Deletes a translation unit from a translation memory in your Lara Translate account, using the source and target sentences to identify it.
Instructions
Deletes a translation from a translation memory in your Lara Translate account.
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": {
"id": "<id>",
"source": "<source>",
"target": "<target>",
"sentence": "<sentence>",
"translation": "<translation>"
},
"name": "delete_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID or list of IDs where to delete the translation unit from. Format: mem_xyz123 | |
| tuid | No | Translation Unit unique identifier | |
| source | Yes | The source language code of the sentence | |
| target | Yes | The target language code of the translation | |
| sentence | Yes | The source sentence | |
| translation | Yes | The translated sentence | |
| sentence_after | No | The sentence after the source sentence to specify the context of the translation unit | |
| sentence_before | No | The sentence before the source sentence to specify the context of the translation unit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Import job identifier | |
| end | No | End offset of the import | |
| size | No | Total number of units in the import | |
| begin | No | Begin offset of the import | |
| channel | No | Channel identifier used by the import | |
| progress | No | Import progress between 0 and 1 (1 means complete) |