get_secret_for_env
Reveals a stored secret value by name for child processes that must read it from an environment variable; always requires approval and returns only secrets from configured presets or wrapped servers.
Instructions
Reveal the raw secret value bound to a name. ALWAYS prompts for
approval, regardless of preset policy. Prefer proxy_http — only
use this if a child process you are about to spawn must read the
secret from an environment variable (e.g. terraform apply reading
AWS_SECRET_ACCESS_KEY). Only the secret of a configured preset or
wrapped server can be revealed. The returned value MUST NOT be quoted
back into your reasoning trace.
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": "get_secret_for_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the secret to reveal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes |