contentrain_vocabulary_save
Add or update canonical vocabulary terms with translations for multiple locales. New terms merge into existing vocabulary, and changes auto-commit to git.
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.
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" } } |