nexus_audit_repository_content
Lists a repository's components and assets with size and last-modified/downloaded dates to support cleanup or retirement decisions; flags incomplete inventories when paging limits are reached.
Instructions
List the components and assets stored in one repository, with size, last modified and last downloaded dates, by paging through the Nexus component API on the server. The result states whether the inventory is complete; when a page or component limit is reached it is marked incomplete and must not be used to decide that content is unused. Use it for cleanup or retirement questions about one repository; use nexus_explain_repository for its configuration. Slow on large repositories: one request per page. Errors if Nexus is not configured, rejects the credentials or is unreachable.
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_audit_repository_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_pages | No | Most component pages to read from Nexus (1-100). | |
| repository | Yes | Exact repository name as shown by nexus_understand_architecture or the nexus://repositories resource, for example 'maven-central'. | |
| max_components | No | Most components to return (1-5000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||