Delete translation memory entries
delete_translation_memory_entriesDelete up to 200 entries, by id (from search_translation_memory), from a translation memory, by translationMemoryId (from list_translation_memories), or by project, still accepted for an existing Project's attached memory, in one atomic call. Use it to remove faulty translations so future jobs stop reusing them. Ids that match no entry in that memory are reported as not found and nothing is deleted for them. A translation memory may be shared by other projects and Workflows in the organisation: it holds their entries too (including languages the addressed project does not translate into), and deleting an entry removes it for every project attached to the memory and every Workflow translating into it. The result lists those projects and Workflows — tell the user which ones were affected. Its Workflows include archived ones, since one unarchived reads the memory again. If a project imports the reviewed translations in its repository's target files, or a Workflow imports them as reviewed or translated (a translated one once QA passes it) from its target files, the next import brings a deleted entry back, so the faulty translation must also be fixed in those files. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.
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": {
"entryIds": "<entryIds>"
},
"name": "delete_translation_memory_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project id (UUID) or slug — still accepted for an existing Project's attached translation memory. Pass this or translationMemoryId, not both. | |
| entryIds | Yes | The translation memory entry ids to delete (1–200, from search_translation_memory) | |
| translationMemoryId | No | Translation memory id, from list_translation_memories. Pass this or project, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflows | Yes | Every Workflow whose current version translates into the memory, archived ones included — the deletion affects them too | |
| deletedIds | Yes | Entries removed from the translation memory | |
| notFoundIds | Yes | Ids that matched no entry in the translation memory; nothing was deleted for them | |
| attachedProjects | Yes | Every project sharing the translation memory — the deletion affects all of them |