Set a category translation
upsert_category_translationSet a category's name and/or description in ONE language, leaving every other language as it is. Translate the text yourself — Obriym does not translate for MCP clients. Call list_content_locales first; the workspace's base language is refused (use update_category for it). A language needs a translated name before it can hold a description; description null clears it. Idempotent: repeating the same call changes nothing. update_category's translations field REPLACES the whole set, so use this tool to change a single language. Returns a warning when the CRM does not show that language yet. Echoes the workspace.
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": {
"categoryId": "<categoryId>",
"locale": "<locale>"
},
"name": "upsert_category_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The category name in this language. Required the first time a language is written. | |
| locale | Yes | The language to write, as an ISO 639-1 code. Call list_content_locales for the codes this workspace uses; never the workspace's base language. | |
| categoryId | Yes | The category id returned by list_categories. | |
| description | No | The category description in this language. null or an empty string clears it. Cannot be stored for a language that has no translated name. |