Find Cleanup
find_cleanupSuggests cleanup candidates in the library: duplicate items (same normalized url), dead links, failed extractions, never-opened old items, untagged items, and near-duplicate tags. Each category reports the candidates, the total number of candidates and whether the list was truncated. The item categories list one id with a reason; the group categories list one entry per group: duplicates gives the group's ids (capped), its size and whether the id list was truncated, near-duplicate tags gives the group's tag names. Read-only: it reports what could be cleaned up, it never changes anything. Dead links are items whose recorded failure is an origin HTTP error and failed extractions are every other recorded failure; no network requests are made, so a link that was never fetched is not detected.
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": "find_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries per category (at most 100). For duplicates, one entry per group of duplicate urls. | |
| categories | No | Categories to check (default: all). One or more of duplicates, dead_links, failed_extraction, never_opened, untagged, near_duplicate_tags. | |
| older_than_days | No | For never_opened: how old an item must be (in days) to count as never opened. |