lithtrix_memory_set
Store or update a JSON value for a memory key with optional TTL, importance, source, and confidence score. Persists AI agent memory across sessions and changes.
Instructions
Store or update a JSON value for a memory key (PUT /v1/memory/{key}). Requires LITHTRIX_API_KEY. Optional ttl (seconds), importance, source, confidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Memory key (1–128 chars: letters, digits, hyphen, underscore, dot, colon) | |
| value | No | JSON-serializable value (object, array, string, number, boolean, etc.) | |
| ttl | No | Optional positive TTL in seconds | |
| importance | No | Optional importance tier (default normal on API if omitted) | |
| source | No | Optional provenance label (e.g. tool name) | |
| confidence | No | Optional confidence 0–1 (default 1.0 on API) |