jfrog_create_virtual_repository
Aggregate multiple repositories into a unified virtual repository in Artifactory, supporting various package types and customizable patterns for artifact inclusion and exclusion.
Instructions
Create a new virtual repository in Artifactory that aggregates multiple repositories
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": {
"key": "<key>",
"rclass": "<rclass>",
"packageType": "<packageType>",
"repositories": "<repositories>"
},
"name": "jfrog_create_virtual_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifactoryRequestsCanRetrieveRemoteArtifacts | No | ||
| debianDefaultArchitectures | No | Default architectures for Debian repositories | |
| debianTrivialLayout | No | Whether to use trivial layout for Debian repositories | |
| defaultDeploymentRepo | No | Default deployment repository | |
| description | No | The virtual repository public description | |
| environments | No | Environments to assign the repository to | |
| excludesPattern | No | Pattern to define artifacts to exclude | |
| externalDependenciesEnabled | No | Enable external dependencies (Bower, npm, Go) | |
| externalDependenciesPatterns | No | Patterns for external dependencies | |
| externalDependenciesRemoteRepo | No | Remote repository for external dependencies | |
| forceMavenAuthentication | No | Force authentication for Maven repositories | |
| includesPattern | No | Pattern to define artifacts to include | **/* |
| key | Yes | the key of the repository | |
| keyPair | No | Key pair used for signing | |
| notes | No | Some internal notes | |
| optionalIndexCompressionFormats | No | ||
| packageType | Yes | Package type of the repository | |
| pomRepositoryReferencesCleanupPolicy | No | discard_active_reference | |
| primaryKeyPairRef | No | Primary GPG key pair reference | |
| projectKey | No | Project key to assign the repository to | |
| rclass | Yes | The repository type | |
| repoLayoutRef | No | Repository layout reference | |
| repositories | Yes | List of repository keys to include in the virtual repository | |
| secondaryKeyPairRef | No | Secondary GPG key pair reference |