download_to_storage
Fetch an ISO or container template from an HTTP(S) URL and save it directly to a Proxmox storage. Verify integrity with optional checksum.
Instructions
Download an ISO or container template straight to a storage.
Args: storage: Target storage, usually "local". url: HTTP(S) URL to fetch. filename: Filename to save as, e.g. "debian-12.iso". content: "iso" or "vztmpl". checksum: Optional expected checksum. Supply it when the source publishes one. checksum_algorithm: "md5", "sha1", "sha224", "sha256", "sha384", or "sha512". wait: Seconds to wait before returning a UPID instead of a result.
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": {
"storage": "<storage>",
"url": "<url>",
"filename": "<filename>"
},
"name": "download_to_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| wait | No | ||
| content | No | iso | |
| storage | Yes | ||
| checksum | No | ||
| filename | Yes | ||
| checksum_algorithm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||