Delete Artifact Registry repository
ar_delete_repositoryDelete an Artifact Registry repository and all packages within it. Use to clean up unused repositories and free up resources.
Instructions
Deletes a repository and all packages/versions inside it.
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": {
"location": "<location>",
"repository": "<repository>"
},
"name": "ar_delete_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | Region, e.g. "us-central1", or "us" for a multi-region | |
| projectId | No | GCP project id; defaults to GOOGLE_CLOUD_PROJECT env var | |
| repository | Yes | Artifact Registry repository id |