list_environment_variables
List environment variables with optional regex filtering, category selection, and blocked variable count. Sensitive values are automatically hidden.
Instructions
[Diagnostics] List all accessible environment variables with optional filtering
Example usage:
{
"filter": "^PATH|^TEMP",
"show_blocked_count": true,
"category": "system"
}Security:
Sensitive variables (API keys, passwords) automatically excluded
Case-insensitive filtering
Read-only access
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": "list_environment_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Regex pattern to filter variable names (e.g., "^PATH|^TEMP") | |
| category | No | Filter by variable category (Windows-specific, default: all) | all |
| show_blocked_count | No | Show count of blocked variables (default: true) |