harbor_admin
Read Harbor quotas, labels, GC schedule/history, retention metadata, and webhook policies; create/update labels or GC schedules only with confirmed, write-enabled calls.
Instructions
Quotas, labels, GC schedule and history, retention metadata, and webhook policy list. GC schedule writes and label writes are gated. Writes run only when confirm is true and HARBOR_ALLOW_WRITES=true. Actions: quotas_list, quota_get, labels_list, label_create, label_get, label_update, label_delete, gc_schedule, gc_history, gc_schedule_create, gc_schedule_update, retention_metadata, retention_get, webhook_list, webhook_events.
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_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| page | No | ||
| scope | 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 | ||
| page_size | No | ||
| project_name_or_id | No |