scan_primary_assets
Rescan all or one PrimaryAssetTypesToScan rule to register primary assets in the Asset Manager. Use after adding rules; returns counts and scanned types.
Instructions
Synchronously rescan the directories and specific assets of every PrimaryAssetTypesToScan rule (or only primary_asset_type) so the Asset Manager registers their primary assets; rules without paths are skipped. Returns num_assets_found, types_scanned and per-type scanned_types. Run it after add_primary_asset_rule.
Returns: { type, num_assets_found, num_paths, scanned, types_scanned, scanned_types }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| primary_asset_type | No | Configured type name to scan alone, e.g. "Item"; omitted or empty scans every rule, and an unknown name scans nothing (types_scanned=0). |