get_secret
Issue a short-lived secret reference to securely access stored credentials, returning an expiring ID instead of the raw secret.
Instructions
Issues a short-lived secret reference for a stored secret. Returns a reference ID (not the raw secret) with an expiry time. The reference can be used to retrieve the actual secret value within the TTL period.
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>",
"purpose": "<purpose>"
},
"name": "get_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the secret to retrieve | |
| purpose | Yes | Purpose for which the secret is being requested | |
| ttl_seconds | No | Time-to-live in seconds for the secret reference (default: 3600) |