configure_env
Create or update a VPS project's .env file to securely manage production environment variables, with an optional backup before changes.
Instructions
Create or update .env file on the VPS. Securely manage environment variables for production.
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>",
"instanceName": "<instanceName>",
"projectPath": "<projectPath>"
},
"name": "configure_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | Create backup before updating | |
| projectId | Yes | Google Cloud project ID | |
| variables | No | Environment variables as key-value pairs | |
| envContent | No | Raw .env content (alternative to variables) | |
| projectPath | Yes | Path to project directory | |
| instanceName | Yes | VPS instance name |