Create an environment
create_environmentCreate or overwrite a .env file with non-secret variable values and declare secret keys without values, keeping real secrets out of versioned files while .env.example lists required keys.
Instructions
Creates (or with overwrite, replaces) an environment file with variable names and non-secret values, e.g. baseUrl. Secret keys are declared without values (secret: true) and added to .env.example; the user puts the real values in the git-ignored .env. Variables whose names look secret (token, password, key, …) are always treated as secrets and their values are not written.
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": {
"name": "<name>"
},
"name": "create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | e.g. "Local" | |
| secrets | No | Secret variable names (no values) | |
| overwrite | No | ||
| variables | No | Non-secret values, e.g. { "baseUrl": "http://localhost:3000" } |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| path | Yes | ||
| secrets | Yes | ||
| replaced | Yes | ||
| variables | Yes | ||
| movedToSecrets | Yes | Names that looked secret; their values were not written | |
| envExampleAdded | Yes | ||
| missingInDotEnv | Yes | Secret keys the user still has to add to .env |