Create keys
create_keysCreate translation keys in a Tolgee project with optional translations and tags. Keys that already exist are silently skipped — their translations and tags are not updated. Use update_key and set_translation to modify existing keys.
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": {
"keys": "<keys>"
},
"name": "create_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | List of keys to create | |
| branch | No | Optional: branch name | |
| namespace | No | Optional: default namespace for all keys (individual keys can override) | |
| projectId | No | ID of the project. Can be left out when the credential is bound to one project: a project API key, or an OAuth token for one project. |