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).
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 |