memcp_retention_preview
Preview which items would be archived or purged based on retention rules, without making any changes. Identify stale, low-access items flagged for archiving or expired archived items for purging.
Instructions
Preview what would be archived or purged — dry-run, no changes made.
Shows candidates for archiving (stale, low-access items) and purging
(archived items past retention period). Items with high importance,
frequent access, or protected tags are immune from archiving.
Args:
archive_days: Override archive threshold (default from env, 30 days)
purge_days: Override purge threshold (default from env, 180 days)
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_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purge_days | No | ||
| archive_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |