Download CASDA product
casda_download_productDownload a confirmed-ready CASDA product with guarded streamed writes, byte limit enforcement, and optional checksum verification, without overwriting existing files.
Instructions
Download one confirmed-ready product using guarded, streamed local filesystem writes.
This operation requires CASDA_ENABLE_DOWNLOADS and a restricted CASDA_DOWNLOAD_DIR. It never overwrites by default, enforces the byte limit, verifies Content-Length, resumes within the call when Range is supported, and removes incomplete files after failure.
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": {
"product_id": "<product_id>"
},
"name": "casda_download_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | One explicit CASDA product identifier confirmed ready by staging. | |
| destination | No | Optional path constrained to CASDA_DOWNLOAD_DIR; defaults to the archive filename. | |
| verify_checksum | No | Verify the archive checksum when a checksum sidecar is available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| result | No | ||
| provenance | No |