get_collection_param_info
Read a Material Parameter Collection parameter's ID, array index, and default value by name; specify scalar or vector and get the matching entry or an error if absent.
Instructions
Read one parameter of a Material Parameter Collection asset: id, index in its array and default (default_value for a scalar, an RGBA default object for a vector). Read-only; it searches only the array param_type selects and errors when the name is not there.
Returns: { collection_path: string, param_name: string, param_type: string, id: string, default_value: number, default: object, index: int, collection_class: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| param_name | Yes | Name of the parameter to query | |
| 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 |