knowledge_prune
Validate patterns to keep them fresh, auto-downgrade stale patterns, and remove low-value ones using age thresholds.
Instructions
Manage pattern aging: validate patterns to keep them fresh, auto-downgrade stale ones, or remove low-value patterns.
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": "knowledge_prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | 'status' shows staleness report, 'validate' refreshes a pattern, 'age' downgrades stale patterns, 'remove' deletes a pattern | status |
| pattern_id | No | Pattern ID for validate/remove actions (e.g. 'p001') | |
| max_age_days | No | Days before a pattern is considered stale (for age action) |