batch_batch_filter
Apply a custom function to each item in an array and keep only those where the result is truthy. Returns filtered results along with total, kept, and rejected counts.
Instructions
[batch] Keep items where fn(item) is truthy. Returns {results, total, kept, rejected}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| fn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |