store_secret
Encrypt and store a secret in an AES-256-GCM vault to keep API keys and credentials out of LLM conversation transcripts.
Instructions
Store a secret in the encrypted vault. The value is encrypted with AES-256-GCM before storage. The secret value is never visible in the LLM conversation transcript after this call.
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>",
"value": "<value>"
},
"name": "store_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exp | No | Expiry epoch seconds bound into the signature (required with agentId) | |
| name | Yes | A unique name for the secret (e.g., OPENAI_API_KEY, DATABASE_URL) | |
| nonce | No | Single-use nonce bound into the signature (required with agentId) | |
| token | No | Org-issued short-lived access token (alternative to agentId) | |
| value | Yes | The secret value to encrypt and store | |
| agentId | No | Agent ID for signed, scope-enforced access (optional) | |
| signature | No | Ed25519 signature over 'write:<name>:<nonce>:<exp>' in base64 (optional) |