create-environment
Create a new environment in an Infisical project using project ID, name, and slug. Optionally set a position to control ordering.
Instructions
Create a new environment in Infisical
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": {
"projectId": "<projectId>",
"name": "<name>",
"slug": "<slug>"
},
"name": "create-environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the environment to create (required) | |
| slug | Yes | The slug of the environment to create (required) | |
| position | No | The position of the environment to create | |
| projectId | Yes | The ID of the project to create the environment in (required) |