create_key
Add a new localization key to a Tolgee project with optional namespace and initial translations.
Instructions
Create a new localization key in a Tolgee project.
Args:
project_id: The numeric ID of the project.
name: The key name (e.g., "button.submit", "greeting.hello").
namespace: Optional namespace for the key.
translations: Optional dict mapping language tags to translation values (e.g., {"en": "Hello", "fr": "Bonjour"}).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| name | Yes | ||
| namespace | No | ||
| translations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |