Set value
kv_setWrite a small value with a TTL. Emails and card numbers are rejected. Call keys.create once. Pass caller_key on every later tools/call.
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>",
"ttl_s": "<ttl_s>"
},
"name": "kv_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| ttl_s | Yes | ||
| value | Yes | ||
| caller_key | No | pf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set. |