fetch_asset
Download 3D models, PBR materials, and HDRIs into a project folder as ready-to-use files, with credit lines written to CREDITS.md. Returns the saved file paths.
Instructions
Download an asset into a folder, ready to use: models as one .glb; materials as a folder of PBR maps (Poly Haven adds material.json with the tile size, ambientCG ready-made .tres/.mtlx/.blend materials); HDRIs as .hdr/.exr. Adds the credit line to CREDITS.md there. Returns the file paths.
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": {
"asset_id": "<asset_id>",
"dest": "<dest>"
},
"name": "fetch_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | Absolute path of the folder to put the files in (e.g. the project's assets folder). Created if missing; existing files other than the asset's own are left alone. | |
| format | No | Models: glb = one self-contained file (default); gltf = separate .gltf, .bin and textures. | |
| quality | No | Picks the texture resolution: web 1k, game 2k (default), film 4k; film HDRIs are .exr. | |
| asset_id | Yes | An id from search_assets. | |
| resolution | No | Overrides quality's resolution. |