unity_search_assets
Search Unity project assets by name, type, and folder to locate materials, prefabs, scenes, and more using AssetDatabase.
Instructions
Search for assets in the project by name, type, and folder. Uses Unity's AssetDatabase search.
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": "unity_search_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| type | No | Asset type filter (e.g. 'Material', 'Texture2D', 'Prefab', 'Scene', 'AnimationClip', 'ScriptableObject') | |
| query | No | Search query (asset name) | |
| folder | No | Folder to search in (e.g. 'Assets/Prefabs') | |
| maxResults | No | Maximum results to return (default: 100) |