read_environment_variable
Read a single environment variable with automatic blocking of sensitive keys (API_KEY, PASSWORD, TOKEN, SECRET) for enhanced security.
Instructions
[Diagnostics] Read a single environment variable with security filtering
Example usage:
{
"name": "PATH",
"show_blocked_reason": true
}Security:
Sensitive variables (API_KEY, PASSWORD, TOKEN, SECRET) are blocked
Case-insensitive variable name matching
Read-only access (no write operations)
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": {
"name": "<name>"
},
"name": "read_environment_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the environment variable to read (case-insensitive) | |
| show_blocked_reason | No | Show reason if variable is blocked (default: true) |