Skip to content

approve_translation

Approve ONE translation - promote it to approved (the reviewer-blessed status a proposer cannot self-set). The translation must already be translated or reviewed; a pure draft is rejected not_approvable (the usual agent flow is propose_translation with status=translated, then approve). Addresses by namespace + key + language_code (no uuids). Emits the enriched approve_translation mutation attributed to your agent session (status_before→approved); re-approving an already-approved item is a no-op. For many at once, use approve_translations_bulk.

NameTypeDescription
project_uuidstringoptionalProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
namespacestringrequiredNamespace slug of the key.
keystringrequiredKey name.
language_codestringrequiredBCP-47 code (e.g. fr, fr-CA, es).
{
"tool": "approve_translation",
"arguments": {
"namespace": "<namespace>",
"key": "<key>",
"language_code": "<language_code>"
}
}