util_env_parse
.env file parser and linter — Parse a .env / dotenv file into JSON the way dotenv and docker compose read it: comments, export prefixes, single/double quotes, escapes, multi-line quoted values, inline # comments, ${VAR} and ${VAR:-default} references (expand=true to resolve them from earlier keys). Lints it: invalid or shell-unsafe key names, duplicates, spaces around =, unquoted values with spaces, unterminated quotes, empty values, undefined references. Flags secret-looking keys and values (API keys, tokens, passwords, credentialed URLs) and masks them by default (mask=none to return values, mask=all to mask everything). Verdict VALID / VALID WITH WARNINGS / INVALID. Pass text= or url= of a raw file. Offline. JSON. Price: $0.002 USDC (Base, via x402).
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": {
"text": "<text>"
},
"name": "util_env_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. NODE_ENV=production PORT=8080 DATABASE_URL=postgres://app:secret@db:5432/app GREETING="hello world" |