get_credentials
Return raw credentials for a service when you need the API key directly. Includes automatic token refresh and rotation.
Instructions
LEGACY — returns raw credential data into this conversation. Prefer call_service for security: call_service injects credentials server-side so the raw API key is never exposed to the model. Use this only when you must hold the token itself (e.g. handing it to a library that cannot be proxied). Clavis handles token refresh and rotation automatically.
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_name": "<service_name>"
},
"name": "get_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | The name of the service to retrieve credentials for (e.g. 'github', 'openai') |