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.
Paramètres
Section intitulée « Paramètres »| Nom | Type | Description | |
|---|---|---|---|
project_uuid | string | optionnel | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
namespace | string | requis | Namespace slug of the key. |
key | string | requis | Key name. |
language_code | string | requis | BCP-47 code (e.g. fr, fr-CA, es). |
{ "tool": "approve_translation", "arguments": { "namespace": "<namespace>", "key": "<key>", "language_code": "<language_code>" }}