Download objects of Alloy's object library (cards, meshes, textures, thumbnails) from the Hugging Face Hub into the local cache
fetchDownloads Alloy asset libraries or selected objects into the shared cache for simulations, reusing files whose sha256 already matches.
Instructions
Files go to $ALLOY_CACHE/imports// (default ~/.cache/alloy/imports//), where scenes, compose and the API find them; files already there with the right sha256 are not downloaded again. An object whose model uses another object's files (a composed cabinet's door panel and handle) brings that object too (required). Several fetches can fill one cache at the same time. The library is a public Hugging Face dataset: no login is needed (hf auth login or HF_TOKEN raises the Hub's rate limit).
Example arguments: {"library": "ycb_gso", "category": "ycb"}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | No | list libraries, categories and names instead of downloading | |
| repo | No | dataset repo id (default $ALLOY_ASSETS_REPO, else Alloy's library) | |
| names | No | object names (alloy fetch --list shows them) | |
| library | No | a whole library: ycb_gso, robocasa, gymanything, objaverse, alloy | |
| workers | No | parallel downloads | |
| category | No | only this category (e.g. blenders, mug) |