regenerate_collection_param_id
Assign a new random FGuid ID to a selected scalar or vector parameter in a Material Parameter Collection asset and save it, returning the new ID.
Instructions
Assign a new random FGuid Id to one parameter of a Material Parameter Collection asset and save it; returns new_id. It searches only the array param_type selects (default scalar) and errors when the name is not there.
Returns: { collection_path: string, param_name: string, param_type: string, new_id: string, regenerated: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| param_name | Yes | Name of the parameter to regenerate the id for | |
| param_type | No | Which array to search: "scalar" or "vector", any case; omitted or anything else means scalar | |
| collection_path | Yes | Full /Game path to the MPC asset |