Download into the project
download_to_folderDownload owned files into a project folder, verifying SHA-256 checksums and skipping identical existing files. Filter by names, IDs, or edition, or fetch the product as a zip.
Instructions
Download files the person owns into the project, each checked against its sha256; files already there with the same checksum are skipped. dir is relative to the project (default kadal-store/). Narrow with fileNames or fileIds (from list_library) or an edition, or zip: true for the whole product as one zip. color puts a recolourable product's SVGs in that colour (saved as -.svg). Returns where every file went.
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": {
"slug": "<slug>"
},
"name": "download_to_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Folder relative to the project, e.g. 'assets/sfx'. Default kadal-store/<slug>. | |
| zip | No | The whole product as one zip instead of its files. | |
| slug | Yes | ||
| color | No | Recolourable products only (get_product's recolor is not null; the Illustrations shelf): the accent colour their SVGs come in, as hex, e.g. "#2f9e44" (the brand colour of the project). Leave it out for the files as drawn. | |
| edition | No | Narrow a product sold in editions (planners, calendars) to one. Leave an axis out to keep all of it. | |
| fileIds | No | Only these files, by id. | |
| fileNames | No | Only these files, by name. | |
| overwrite | No | Download again even when the same file is already there. |