Apply a run’s Edit set
apply_edit_setApply a completed or held run’s Edit set: each edit becomes its string’s current text and a Reconciliation carries the edits through the run — Source checks judge edited Source strings again, edited strings are translated and QA-checked again, and the Outputs deliver again. That spends credits: refused INSUFFICIENT_CREDITS at the overdraft limit. It applies everyone’s edits, other members’ translation edits included, not only yours. Call it only after showing the user the Edit set (get_edit_set) and the user explicitly confirms; pass the ids of every edit you showed that has editedText — one still being generated (editedText null) stays in the Edit set. Refused EDIT_SET_CHANGED, applying nothing, unless those are exactly the edits it would apply: read get_edit_set again and confirm anew. Recorded as the acting user; refused FORBIDDEN without one. Poll get_workflow_run until its reconciliation is completed. Also refused EDIT_SET_RUN_NOT_COMPLETED (the run is neither completed nor held), RECONCILIATION_IN_PROGRESS (the last apply is still running) and EDIT_SET_EMPTY. 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>",
"editIds": "<editIds>"
},
"name": "apply_edit_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Run id, from get_workflow_run or list_workflow_runs | |
| editIds | Yes | The edits the user confirmed, from get_edit_set |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generating | Yes | AI-suggested edits still being generated, left in the Edit set | |
| reconciliation | Yes | The Reconciliation the Apply started |