resources
Searches the game’s resources by name, across every archive in the game’s folder. Use it to find the name to pass to another tool:
utc: creature templates, forstage_spawn.uti: item templates, forstage_equip.plo: plots, forplot.cut: cutscenes, forstage_cutscene.
Returns the matching names, sorted, each without its extension and with the archive it is in, up to most, and the count of all matches. The core and campaign archives are in every game; an add-in’s resources only load where that add-in runs. The first call in a game reads every archive’s index from disk and can take a minute or more, so give it a long timeout; later calls are fast.
Read-only: it changes nothing in the game.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
type | string | The file extension to list: utc, uti, plo or cut. Default: all types. | |
match | string | Words that must all appear in the name, in any case, e.g. “hurlock archer”. | |
most | integer (≥ 1, ≤ 2000) | The most names to return. Default 100. |
Call it as resources over MCP, or POST /api/tool/resources with the arguments as JSON.