Fix a QA failure’s translation
edit_translationPut a corrected translation of the string an open QA failure is on into the run’s Edit set, in that failure’s language: one edit covers every place the string appears, and replaces an edit of that string already there. Nothing changes until apply_edit_set, which applies everyone’s edits and starts a Reconciliation (it costs credits); its QA re-checks the edited strings. Fix translations here, never in the repository: its translated files are Globalize’s output. Refused QA_FINDING_NOT_FOUND, QA_FINDING_NOT_OPEN (dismissed — undismiss_qa_failures reopens it — or the string passes the check now), JOB_SUPERSEDED (a newer run of the Workflow replaced this one), JOB_NOT_EDITABLE or SOURCE_STRING_EDIT_PENDING (its Source string has an edit waiting). 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": {
"runId": "<runId>",
"qaFailureId": "<qaFailureId>",
"text": "<text>"
},
"name": "edit_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The string’s corrected translation, placeholders and markup included | |
| runId | Yes | Run id, from get_workflow_run or list_workflow_runs | |
| qaFailureId | Yes | An open QA failure, from list_run_qa_failures |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editId | Yes | The edit in the Edit set: what discard_edit takes | |
| removedTargetEdits | Yes | Always 0: only a Source string edit removes translation edits |