Translate Knowledge Base Article
translate_kb_articleTranslate an article from the language it is written in into other locales, the knowledge base's main language included. Targets must be enabled on the knowledge base (any number can be). Charges workspace credits per article per target language (see get_credit_costs); if the balance can't cover every target, nothing is translated.
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": {
"articleId": "<articleId>",
"targetLocales": "<targetLocales>"
},
"name": "translate_kb_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| articleId | Yes | ||
| targetLocales | Yes | Locale codes, e.g. ['es','de'] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| articleId | No | ||
| translated | No |