nexus_get_artifact_age_report
Generate a read-only report of artifact age and download recency for a Nexus repository, flagging stale SNAPSHOT, pre-release, mutable-tag, or release assets for cleanup review.
Instructions
Report artifact age and download recency for a repository (read-only, deletes nothing). For each asset, shows upload age, days since last download (or never_downloaded), and a classification (snapshot, pre-release, mutable-tag for Docker latest/dev-style tags, or release). Flags assets as 'stale' when uploaded and not downloaded within stale_after_days — use this to spot old SNAPSHOT, pre-release, or Docker artifacts that are candidates for cleanup review.
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": {
"repository": "<repository>"
},
"name": "nexus_get_artifact_age_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional component name filter | |
| group | No | Optional group filter (Maven groupId, etc.) | |
| limit | No | Max number of oldest assets to return in detail (default 50, max 200) | |
| format | No | Optional component format filter | |
| repository | Yes | Repository to scan | |
| stale_after_days | No | Age/inactivity threshold in days for the 'stale' flag (default 90) |