asset.search
Overview
- Full-text search over the inZOI asset catalog (catalog.db). Returns id/path/class/category/name_en/desc_en/tags_en/usage_en/spec. BM25-ranked porter-stem FTS with a LIKE substring fallback (data.mode reports which stage served). English catalog: pass English keywords. Classes: StaticMesh / SkeletalMesh / AnimMontage / NiagaraSystem / SoundBase. Use the returned path with asset.preview to test-place/play the asset (transient preview — not a permanent placement).
Metadata
| Field | Value |
|---|---|
| Display | Search Asset Catalog |
| Category | asset |
| Access | ScriptCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| query | string | yes | — | Search query (English keywords, e.g. 'arched stone wall'). |
| class | string | no | — | Optional class filter: StaticMesh/SkeletalMesh/AnimMontage/NiagaraSystem/SoundBase. Empty = all. |
| limit | int | no | 10 | Max results (default 10, max 200). |
Usage
await inzoi.cli.execute('asset.search', {
query: '',
class: '', // optional
limit: 10, // optional
});