harbor_list_artifacts
List artifacts (tags) in a Harbor repository, newest first, showing digest, size, push/pull timestamps, and vulnerability scan results. Use pagination for large repositories.
Instructions
List artifacts (tags) in a repository, newest first.
Each artifact carries digest, size, push/pull timestamps, scan status and vulnerability counts (if scanned).
Pagination: if has_more is True, call again with page + 1.
For repositories with hundreds of artifacts prefer harbor_storage_report
or harbor_cleanup_candidates which paginate internally.
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": {
"project_name": "<project_name>",
"repository_name": "<repository_name>"
},
"name": "harbor_list_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | Harbor project name. | |
| repository_name | Yes | Repository name within the project. | |
| page | No | Page number (1-based). | |
| page_size | No | Items per page (1-100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| repository | Yes | ||
| total_size | Yes | ||
| total_size_bytes | Yes | ||
| artifacts_count | Yes | ||
| page | Yes | ||
| page_size | Yes | ||
| has_more | Yes | ||
| next_page | Yes | ||
| artifacts | Yes |