get_asset_file_size
Read the on-disk size of an Unreal asset's .uasset in bytes, KB, and MB, and return its resolved absolute file path to answer disk-budget questions.
Instructions
Read the ON-DISK size of an asset's .uasset in bytes, KB and MB, plus the absolute file path it resolved to -- the measurement for a disk-budget question ("what is costing the 491 MB in this import?"). WARNING: Size is NOT a proxy for content or integrity: a DataTable that GREW by 5 KB had lost 46 of its 48 references. To measure content use get_data_table_info, read_data_table_row_complex or get_asset_dependencies; for in-memory cost use get_asset_memory_usage. Resolution matches get_asset_by_name (full package name first, then a /Game-only exact-name scan, first hit wins with the rest in ambiguous_matches).
Returns: { asset_name: string, asset_path: string, file_path: string, file_size_bytes: int, file_size_kb: number, file_size_mb: number, file_exists: bool, asset_class: string, ambiguous_matches?: [string] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_name | Yes | EXACT asset name, or a full package name (which is tried first and is the only form that reaches outside /Game) |