collection_group_by
Group a list of objects by a specified key to organize records into categories for easier aggregation and analysis.
Instructions
Group a list of objects by a key.
Args: items: List of dictionaries to group. key: The key to group by.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| items | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |