Read a credential's secret (the user approves each time)
cred_revealRetrieve a stored secret value after user approval when a CLI flag or config file needs it directly and proxy-based API calls cannot work.
Instructions
Get a stored secret's value, after the user approves this one read (they see your reason). Use it only when the secret itself is needed (a CLI flag, a config file) and proxy_open cannot do the job; for HTTP APIs use proxy_open. Do not repeat the value in your messages or write it anywhere it is not needed.
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>",
"reason": "<reason>"
},
"name": "cred_reveal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Credential name, as in cred_list | |
| reason | Yes | What you need it for, shown to the user |