create_environment
Create a new workspace environment with initial key-value variables, or add a sub-environment under a base environment by specifying its parent ID.
Instructions
Create a new environment for a workspace. Sub-environments should have a base environment as their parentId.
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": {
"parent_id": "<parent_id>",
"name": "<name>"
},
"name": "create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Initial key-value variable pairs | |
| name | Yes | Environment name, e.g. 'Production' or 'Local' | |
| parent_id | Yes | Workspace ID (for base env) or base environment ID (for sub-env) | |
| is_private | No | Mark as private (not synced) |