list_assets
Browse and search map asset paths by category or term to find exact assets for placing objects, walls, terrain, and lights in a Dungeondraft build.
Instructions
List asset paths in a category, optionally filtered by a case-insensitive substring.
category: e.g. 'Objects', 'Walls', 'Paths', 'Terrain', 'Lights', 'Portals', 'Roofs'.
search: substring matched against the asset path ('chair', 'door', 'grass').
Pass a returned path, verbatim, as the 'asset' of the create tools.
searches: up to 8 terms instead of `search` (more is refused; split the
call). Results come under `results`, keyed by term, sharing a budget of 80
paths (`per_term_limit`): for choosing a handful, not reading the catalogue.
Results depend on the packs THIS MAP includes: none gives the ~1800 core
assets, a full library over a hundred thousand. If a search comes up thin,
search_pack_contents before concluding an asset does not exist.
`colorable` lists INDEXES into `assets` of assets with a colour mask: they
take `color` at placement, and the mask shows red without one. Colour
cannot be changed afterwards — check before choosing.
`sizes` [w, h] is each asset's canvas and `drawn` [x, y, w, h] the part its
art covers, in woxels at scale 1, parallel to `assets`. Pack art often fills
under half its canvas, so fit spacing, rugs and shadows to `drawn`.
`colorable_scanned` false: too many to scan for colour or size; narrow it.
match_mode: 'substring' (default, contiguous); 'tokens' (every word, any
order: "table round" finds round_table_01); 'fuzzy' (tokens plus
resemblance, so "barrle" lands; ranked, with `scores`, cut at min_score).
None understand meaning: "mug" will not find a tankard. A blank term is
retried only under words naming the same thing (rug/carpet, armour/armor);
`matched_with` says which matched, `also_tried` lists misses.
vanilla_only: core assets only, so packs cannot crowd them out of a page.
pack: id or name of a pack this map includes (list_asset_packs); results
come from it alone. Others are refused, naming the choices.
theme: a theme's words, with the Theme Search mod.
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": "list_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | Id or name of a pack this map includes; limits results to it. | |
| limit | No | ||
| theme | No | A theme ('kitchen', 'tavern', 'forest') instead of search terms: the Theme Search mod names its words and up to 8 are searched, with results under `results` as for `searches`. Objects only. Refused without the mod. | |
| search | No | ||
| category | No | Objects | |
| searches | No | Up to 8 terms looked up in one call, instead of `search`. They share one budget of results, so more terms means fewer each. | |
| min_score | No | ||
| match_mode | No | substring | |
| vanilla_only | No |