harbor_artifacts
Manage Harbor registry artifacts: list and inspect details, handle tags and labels, check vulnerabilities, trigger scans, and delete entries, with confirmation-gated writes and dry-run previews.
Instructions
Artifact list and get, tags, artifact labels, vulnerability addition, scan trigger, and delete. Writes run only when confirm is true and HARBOR_ALLOW_WRITES=true. Actions: list, get, delete, tags_list, tag_create, tag_delete, label_add, label_remove, vulns, scan, accessories.
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": {
"action": "<action>"
},
"name": "harbor_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| page | No | ||
| action | Yes | Harbor operation to call. | |
| confirm | No | Boolean true runs the write when HARBOR_ALLOW_WRITES is true. Omit it or pass false for a dry-run preview that sends nothing. The string true is rejected. | |
| document | No | ||
| label_id | No | ||
| tag_name | No | ||
| with_tag | No | ||
| page_size | No | ||
| reference | No | ||
| with_label | No | ||
| project_name | No | ||
| repository_name | No | ||
| with_scan_overview | No |