kotor_find_resource
Search for resource files in game installations by name or glob. Returns the first match or all locations with priority resolution order.
Instructions
Use when you need the first match for a resref or to see all locations. Supports glob (e.g. 203tel*). Resolution order: Override -> MOD -> KEY/BIF. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | k1 or k2 | |
| query | Yes | Resource name with optional extension (e.g. 203tell.wok) or glob (e.g. 203tel*) | |
| order | No | Optional SearchLocation order (OVERRIDE, MODULES, CHITIN, ...) | |
| all_locations | No | If true, return all locations with priority; if false, only selected per resource |