Retrieve a service credential
get_credentialRetrieve an authorized stored provider credential when the user needs a key for a service. The actual key is returned to the client runtime and its host. The method argument declares the intended HTTP method for Gazebo's release-policy check; this tool does not execute a provider request or restrict later use of the key. OAuth connections require an explicitly approved key_name; manual agent tokens may omit it to select the primary credential. Valid retrieval attempts create credential-access audit events. Revocation stops future retrieval, not use of keys already returned.
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": {
"service": "<service>",
"method": "<method>"
},
"name": "get_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| service | Yes | ||
| key_name | No |