vault_put
Store a value in the AgentLair Vault. Use this to persist API keys, secrets, or any data your agent needs across sessions. Best practice: encrypt sensitive data client-side before storing (the server stores whatever you send).
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": {
"key": "<key>",
"value": "<value>"
},
"name": "vault_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Vault key name (1-128 chars, alphanumeric + _ - .). Examples: 'openai-key', 'session_token', 'config.json' | |
| value | Yes | Value to store. For secrets: encrypt first, then store the ciphertext. | |
| metadata | No | Optional JSON metadata (labels, timestamps, etc.) — never encrypted |