cleanup_expired
Deletes expired memories past their TTL and returns the count of removed items. Call periodically to keep your memory store clean.
Instructions
Delete all memories past their ttl. Returns count of deleted memories. Call periodically to keep memory clean.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanup_expired"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |