list_unity_assets
Scan a directory for Unity asset files (.prefab, .unity, .asset) and return a grouped list of absolute paths with optional filtering by file type, name, and recursion.
Instructions
Scan a directory for Unity asset files (.prefab, .unity, .asset) and return a grouped list with absolute paths ready to use with parse_unity_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by file type. Default: all | |
| exact | No | When true, only match files whose name (without extension) exactly equals the search term. E.g. search:"bat" exact:true returns Bat.prefab, BatPF.prefab but NOT CombatText.prefab. Default: false. | |
| limit | No | Maximum number of results to return. Default: 50. | |
| search | No | Filter assets by name (case-insensitive substring). E.g. "enemy" returns EnemyBat.prefab, EnemyWolf.prefab etc. | |
| directory | No | Directory to scan. Can be a Unity project root, an Assets folder, or any subfolder. If omitted, uses current working directory. | |
| recursive | No | Search recursively. Default: true |