kroger_category
Browse a Kroger product category by slug and category ID to get paginated product cards, facet groups, and filters for sorting and refining results.
Instructions
Browse a Kroger category. Browses a Kroger product category and returns product cards plus facet groups, in the same shape as kroger-search. slug and category_id together identify the category (e.g. "pet" and "27" for kroger.com/pl/pet/27) -- call kroger-categories to discover every valid slug/category_id pair. It uses category_id as a taxonomy filter, with real pagination, and the source field reports which path answered. Facet filters and sort apply to the primary path only: when any of them is set, a failure of that path returns an error rather than silently falling back to unfiltered results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | One-based result page | |
| slug | Yes | Category URL slug segment. Obtain valid slug/category_id pairs from kroger-categories | |
| sort | No | Result order. One of: relevance, name_asc, popularity_desc | |
| scent | No | Comma-separated scent facet values | |
| brands | No | Comma-separated brand names to filter by, taken verbatim from a previous response's facets | |
| flavor | No | Comma-separated flavor facet values | |
| savings | No | Comma-separated savings facet values | |
| nutrition | No | Comma-separated nutrition/dietary facet values | |
| price_max | No | Upper bound of the price filter; required to filter on price | |
| price_min | No | Lower bound of the price filter; defaults to 0 | |
| category_id | Yes | Category numeric taxonomy id. Obtain valid slug/category_id pairs from kroger-categories | |
| more_options | No | Comma-separated more-options facet values |