get_credential
Retrieve a stored credential by ID, name, alias, or URL to authenticate requests. Optionally reveal secret values with a stated purpose and approval.
Instructions
Get one credential by id, name, alias or URL. With reveal=true the raw secret values are
returned (subject to its policy — may pop an approval dialog for the user). Always give a
short purpose when revealing. Prefer http_request/run_with_credential over revealing.
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": {
"ref": "<ref>"
},
"name": "get_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| fields | No | ||
| reveal | No | ||
| purpose | No |