kb_retain
Store a fact, rule or event in your team's memory. For values that change (prices, stock, rankings, balances) ALWAYS set snapshot=true or an expiry: expired facts are retired automatically.
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": {
"content": "<content>"
},
"name": "kb_retain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | Memory bank (leave empty for your space's default) | |
| tags | No | Optional short tags | |
| content | Yes | The fact, in a sentence or two | |
| context | No | Optional: where it came from | |
| expires | No | Expires on this date (YYYY-MM-DD) | |
| snapshot | No | A value that will change: expires in 30 days | |
| valid_days | No | Expires after this many days (1-3650) |