Download a finished asset into the workspace
download_assetDownload a completed asset job into a local workspace, extract PBR textures, and write asset.json with provenance. Avoids overwriting existing workspaces and secures files before provider URLs expire.
Instructions
FREE: no credits. Downloads a completed asset job into a local workspace folder — the model, any PBR variant, the provider preview, the source reference image — and EXTRACTS embedded textures into textures/ as separate files. Also writes asset.json with complete provenance. Call this as soon as get_asset_job reports "ready": provider URLs expire. Never overwrites an existing workspace; a repeat download gets a new suffixed folder.
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": {
"assetJobId": "<assetJobId>"
},
"name": "download_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetJobId | Yes | ||
| destination | No | Override the output root. Defaults to ASSET_OUTPUT_DIR. | |
| extractTextures | No | Write embedded glTF images out as separate texture files. |