contentrain_vocabulary_save
Add or update vocabulary term translations. Specify terms as slug-keyed locale objects; the merge preserves unspecified entries. Changes commit automatically to the repository.
Instructions
Add or update canonical vocabulary terms. Terms nest as { "term-slug": { "en": "…", "tr": "…" } } — the OUTER key is the term, the INNER key is a locale. Merges with the existing vocabulary: a term you omit is untouched. Changes are auto-committed to git — do NOT manually edit .contentrain/vocabulary.json.
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": {
"terms": "<terms>"
},
"name": "contentrain_vocabulary_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | Terms keyed by kebab-case term slug, each holding its translations keyed by locale code. Example: { "sign-in": { "en": "Sign in", "tr": "Giriş yap" } } |