Store Value in Memory
kv_setStore a value durably under (namespace, key) with a TTL. Survives across your sessions - use it as memory between stateless runs. Value must be a string (JSON-encode objects), max 8192 bytes. TTL defaults to 30 days, max 90 days. Max 1000 keys per namespace.
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": {
"namespace": "<namespace>",
"key": "<key>",
"value": "<value>"
},
"name": "kv_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key within the namespace. | |
| value | Yes | Value to store (string; JSON-encode structured data). | |
| namespace | Yes | Your private namespace. Pick a long unique string; it acts as the access key. | |
| ttl_seconds | No | Seconds until expiry. Default 2592000. |