generate_sanitized_env_example
Generates a zero-secret .env.example and escaped fail-fast docker-compose.yml snippet from local config, preventing server secret leaks.
Instructions
Generates a zero-secret .env.example template (automatically renaming leaked NEXT_PUBLIC_/VITE_ server secrets) and an escaped fail-fast docker-compose.yml snippet from local config structure without leaking any secret values.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_sanitized_env_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envText | No | Optional raw .env text whose keys and types will be converted into safe placeholders. | |
| codeText | No | Optional source code text. | |
| composeText | No | Optional docker-compose.yml text. | |
| envFilePath | No | Optional local path to .env file. | |
| workspaceDir | No | Optional project directory to read .env, .env.example, docker-compose.yml, and source references. | |
| envExampleText | No | Optional existing .env.example text. |