agent_memory_set
Store a value in your agent's persistent encrypted memory. Values survive across sessions and support string, JSON, number, boolean types with optional TTL.
Instructions
Store a value in your agent's persistent encrypted memory. Values survive across sessions. Supports string, json, number, boolean types with optional TTL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your agent API key | |
| namespace | Yes | Memory namespace (e.g. "context", "preferences", "learned") | |
| key | Yes | Key name | |
| value | Yes | Value to store (string, number, boolean, or JSON object) | |
| value_type | No | Value type: string, json, number, boolean | |
| ttl | No | Time-to-live in seconds (optional, omit for permanent) |