configure_nodejs_env
Set or update environment variables in a Node.js application's .env file by specifying the app root and KEY=VALUE entries, so configuration changes are applied consistently.
Instructions
Set or update environment variables in .env for a Node.js application
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": {
"app_root": "<app_root>",
"env_variables": "<env_variables>"
},
"name": "configure_nodejs_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_root | Yes | Application root directory | |
| env_variables | Yes | List of environment variables in KEY=VALUE format (e.g. ['PORT=3000', 'NODE_ENV=production']) |