Download asset into project
download_assetDownload a selected 3D model as GLB or PNG into a project folder; GLB files are SHA-256 verified.
Instructions
Downloads one model into a folder on this machine (e.g. "assets/models" inside the game project). format "glb" saves .glb (self-contained, textures embedded); format "png" saves the preview image .png. The GLB is checked against its SHA-256 from the catalogue. Relative dest_dir is resolved against the server working directory (normally the project root).
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": {
"id": "<id>",
"dest_dir": "<dest_dir>"
},
"name": "download_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Model id from search_assets, e.g. "prop_snowman_classic". | |
| format | No | "glb" = the 3D model, "png" = the preview image. | glb |
| dest_dir | Yes | Folder to save into, e.g. "assets/models". Created if missing. | |
| overwrite | No | Replace an existing different file (default false). |