create_material_parameter_collection
Create and save a UMaterialParameterCollection asset at a content path, returning its path and parameter counts. Existing collections are returned as-is instead of overwritten.
Instructions
Create a UMaterialParameterCollection asset at package_path/name and save it to disk. Idempotent: an existing collection there is returned with created=false and already_exists=true, while another asset type at that path is an error. Returns collection_path, scalar_count, vector_count and saved.
Returns: { name: string, package_path: string, collection_path: string, asset_path: string, collection_class: string, scalar_count: int, vector_count: int, created: bool, already_exists: bool, success: bool, saved: bool, message: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Asset name without a path, e.g. "MPC_Global" | |
| package_path | No | Content folder for the asset, e.g. "/Game/MaterialCollections" (the default) |