collection_chunk
Split a list into chunks of a given size by providing the items and size, enabling easier processing of large collections in smaller groups.
Instructions
Split a list into chunks of a given size.
Args: items: The list to split. size: The chunk size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| items | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |