get_environment_variables
Inspect server environment variables with optional case-insensitive search. Returns sorted read-only values, redacting secrets, for debugging PATH and config.
Instructions
Returns the server process's environment as a sorted key-value map. search filters by name prefix or substring, case-insensitive. Read-only (os.Environ). Sensitive names (SECRET, TOKEN, PASSWORD, etc.) are redacted to ***. Use to debug PATH, locale, and server configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | optional search string to filter by name (matches prefix or substring, case-insensitive) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| errors | No | ||
| variables | Yes |