kv.set
Persists a JSON value under a namespace and key with an optional TTL, giving AI agents deterministic key-value memory that survives across calls.
Instructions
Persist a JSON value under a namespace/key 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": {
"key": "<key>",
"value": "<value>"
},
"name": "kv.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| namespace | No | ||
| sessionId | No | ||
| ttlSeconds | No |