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.
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": {
"api_key": "<api_key>",
"namespace": "<namespace>",
"key": "<key>",
"value": "<value>"
},
"name": "agent_memory_set"
}
}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) |