env
Return all environment variables or filter by name pattern as JSON. Inspect the execution context available to child processes without side effects.
Instructions
Return all environment variables or filter by name pattern as structured JSON. Read-only, no side effects. Returns JSON with key-value pairs of environment variables. Use to inspect the execution context available to child processes. Not for querying a single variable by exact name — use 'printenv' for direct lookup. See also 'printenv'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write KEY=VALUE lines without a JSON envelope. | |
| names | No | Optional variable names to include. |