create_environment
Sets up a new Translation Hosting environment in SimpleLocalize for organizing and publishing translations. Provide a unique key, name, and color to create the environment.
Instructions
This tool will create a new Translation Hosting environment in your SimpleLocalize project.
Provide a unique 'key' (lowercase letters, digits, dashes), 'name', and 'color' (hex, no leading '#').
The key cannot be '_latest' or '_production' (reserved built-in environments).
The created environment can then be used with the publish tool.
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": {
"key": "<key>",
"name": "<name>",
"color": "<color>"
},
"name": "create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique environment key. Lowercase letters, digits and dashes only. Cannot be '_latest' or '_production'. | |
| name | Yes | Display name for the environment. | |
| color | Yes | Environment color in hex format for the Web UI (e.g. ff5733), without the leading '#'. |