configure_python_env
Set or update environment variables in a Python app's .env file through cPanel to control runtime and deployment settings.
Instructions
Set or update environment variables in .env for a Python 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_python_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. ['SECRET_KEY=...', 'DEBUG=False']) |