pick_fields
Extract only the fields you need from each object in a JSON array, like a SQL SELECT projection, to reduce noise and return focused results.
Instructions
Extract specific fields from each object in an array (projection).
Like SQL SELECT — picks only the columns you care about.
Args: alias: The alias of the loaded document. path: Dot-notation path to the array of objects. fields: List of field names to include (e.g. ["name", "price"]).
Returns: The projected array containing only the specified fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| alias | Yes | ||
| fields | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |