generate_env
Extracts environment variable placeholders from a Docker Compose YAML and generates a .env template file with categorized comments and secret generation hints.
Instructions
[PRO] Extract all environment variable placeholders (${VAR}) from a Docker Compose YAML and generate a .env template file with categorized comments (database, auth/secrets, app). Includes generation hints for secrets.
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": {
"compose_yaml": "<compose_yaml>"
},
"name": "generate_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compose_yaml | Yes | The docker-compose.yml content to extract variables from |