Update translation
update_translationMerges the given path/value pairs into a locale's content — an empty string value clears that path back to the source-language fallback. Requires the Build plan or higher.
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": {
"courseId": "<courseId>",
"translationId": "<translationId>",
"content": "<content>"
},
"name": "update_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Translated text keyed by field path, e.g. { "title": "...", "s:<screenId>.title": "...", "s:<screenId>.b:<blockId>.text": "..." }. Merged into the existing content; an empty string clears that path back to the source language. | |
| courseId | Yes | Id of the course the translation belongs to. | |
| translationId | Yes | The translation's id (not its locale code), as returned by list_translations or create_translation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| locale | Yes | ||
| content | Yes | Translated strings, keyed by the source field's path. | |
| courseId | Yes | ||
| createdAt | Yes | ||
| updatedAt | Yes |