download_artifact
Downloads a package artifact (.nupkg or .tgz) from an Azure DevOps feed using the browser session, validating size, SHA256, and archive format for re-hosting.
Instructions
Download a package artifact (.nupkg / .tgz) from a feed via the browser session (pkgs.dev.azure.com). Validates archive integrity (size, sha256, valid zip/tgz) for re-hosting.
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": {
"feedId": "<feedId>",
"packageName": "<packageName>",
"version": "<version>",
"protocol": "<protocol>",
"saveDir": "<saveDir>"
},
"name": "download_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | Yes | Feed id (or name). | |
| project | No | Project scope of the feed (id or name). Resolved automatically from the feed; only set it to override. | |
| saveDir | Yes | Directory to write the downloaded artifact to. | |
| version | Yes | Exact version to download. | |
| protocol | Yes | Package protocol. | |
| packageName | Yes | Package name. |