asset_import
Downloads an allow-listed asset into a local cache and imports it into Blender as a sized model, Principled texture material, or new HDRI world, recording license and attribution.
Instructions
Downloads a found asset and brings it into Blender (the download happens on this computer, from allow-listed hosts, with a size cap, into a cache; it is not downloaded twice). model: arrives under a root empty; target_size = the largest dimension in metres (chair 1.0, car 4.5, cup 0.12; sketchfab/polypizza arrive at an arbitrary scale, always give it); snap_to_ground puts the centre of the base at location ([x, y, z], default 0,0,0). texture: a Principled material named 'source_id' (kept even if it is outside the scene); apply_to=['Object'] replaces those meshes' material (warns if there are no UVs). hdri: assigned as a new world (the old one is kept). resolution: 1k (default), 2k, 4k, 8k; format: model gltf/fbx, texture jpg/png, hdri hdr/exr. accept_license: take a non-CC0 asset knowingly. Returns: bounding box, tris, materials, file, license; look at it with view afterwards. The root gets the properties asset_source/asset_license/asset_attribution. A generated model: source='rodin' or 'hunyuan', id = the job from generate_start (it must be done: see generate_status); target_size is advisable.
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": {
"app": "<app>",
"source": "<source>",
"id": "<id>"
},
"name": "asset_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| app | Yes | ||
| kind | No | ||
| format | No | ||
| source | Yes | ||
| apply_to | No | ||
| location | No | ||
| resolution | No | 1k | |
| target_size | No | ||
| accept_license | No | ||
| snap_to_ground | No |