memcp_retention_run
Archive stale items and optionally purge archived data past retention period to manage memory usage.
Instructions
Execute retention actions — archive old items, optionally purge.
Archiving compresses and moves stale items to the archive directory.
Purging permanently deletes archived items past the purge threshold
and logs metadata to purge_log.json for audit.
Args:
archive: Archive eligible items (default True)
purge: Purge archived items past retention period (default False)
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": "memcp_retention_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purge | No | ||
| archive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |