update_translation_key_by_id
Update a translation key's metadata, key name, or namespace in your SimpleLocalize project by its ID, using optional fields for tags, description, lock status, and more.
Instructions
This tool will update a translation key (metadata and/or key/namespace) in your SimpleLocalize project by its ID.
Provide the existing 'id' to identify the translation key.
Provide optional fields to update: key, namespace, description, codeDescription, tags, charactersLimit, lock, deprecated.
Use this when you already know the translation key's ID (e.g. from get_all_translation_keys_v2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The translation key ID to update. | |
| key | No | New translation key name (optional). | |
| lock | No | Lock/unlock the key (optional). | |
| tags | No | New tags (optional, max 5). | |
| namespace | No | New namespace for the translation key (optional). | |
| deprecated | No | Mark as deprecated (optional). | |
| description | No | New description (optional, max 500 characters). | |
| charactersLimit | No | New character limit for the key value (-1 means unlimited). | |
| codeDescription | No | New code context description (optional, max 500 characters). |