gograph_envs
Extract all environment variable references (os.Getenv, os.LookupEnv) from Go code, including keys, defaults, and file locations, to audit configuration and verify parameter bindings.
Instructions
Extract and audit all environment variables (os.Getenv, os.LookupEnv) referenced across the codebase. BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool when compiling configuration profiles, verifying env parameter bindings, or auditing configuration management. Do NOT use for magic constant literals (use gograph_literals instead). COMPLETENESS: Returns a structured list of env keys, their default fallbacks, and the file and line locations of the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Optional filter term (e.g., 'DATABASE' matches DATABASE_URL, DATABASE_HOST, etc.) |