memory_maintenance
Perform maintenance on memory storage: expire old entries, purge orphans, rebuild full-text search, check graph integrity, clean duplicates, and run vacuum. Defaults to dry-run for safe preview.
Instructions
Explicit bounded maintenance. Defaults to dry-run. expire/orphans soft-delete; FTS rebuild and vacuum affect the whole DB. Physical purge is CLI-only.
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": {
"action": "<action>"
},
"name": "memory_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| limit | No | ||
| action | Yes | ||
| dry_run | No | ||
| project | No | ||
| after_id | No | ||
| namespace | No |