update_translation
Create or update a translation for a specific locale. API reference: https://www.courier.com/docs/api-reference/translations/update-translations-by-locale.
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": {
"locale": "<locale>",
"body": "<body>"
},
"name": "update_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Translation content (PO file format) | |
| domain | No | Translation domain | default |
| locale | Yes | Locale code (e.g. en_US, fr_FR) |