Create translation
create_translationStarts a new (initially empty) locale for a course. 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>",
"locale": "<locale>"
},
"name": "create_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | Yes | Locale code for the new translation, e.g. 'fr' or 'ar'. A course can have only one translation per locale. | |
| courseId | Yes | Id of the course the translation belongs to. |
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 |