Create Artifact Registry repository
ar_create_repositoryCreate a new Artifact Registry repository for Docker, Maven, npm, Python, apt, yum, Go, or generic packages in a chosen Google Cloud location.
Instructions
Creates a new Artifact Registry repository (docker, maven, npm, python, apt, yum, go, generic, ...).
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>",
"repositoryId": "<repositoryId>"
},
"name": "ar_create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | DOCKER | |
| 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 | |
| description | No | ||
| repositoryId | Yes |