manage_memory
Store and read short strings in the memory scopes prefs, facts, and run. Run uses the run key's bound namespace. action=put writes and returns scope, namespace, budget, and keyBudget (meters 1 kvp_ops; ACL memory_put). action=get returns {value, scope, namespace, budget, keyBudget} (meters 1 kvp_ops; ACL memory_get). No deletes and no email. Use search_documents source=memory for semantic recall, manage_kv for any other namespace, and finish_run to wipe the run namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key name inside the scope namespace. Required for put and get. | |
| scope | No | Memory scope. prefs and facts are fixed namespaces. run maps to the run key namespace, or the namespace run when the key has none. Required for put and get. | |
| value | No | String to store. Required for put. Omit for get. | |
| action | Yes | put checks ACL memory_put and writes. get checks ACL memory_get and reads. Required. No default. | |
| expirationTtl | No | TTL in seconds for put. Omit to keep the value until it is deleted. Ignored by get. |