catalog_search
Search a product catalog by keyword and apply structured filters, sorting, and pagination to find matching items.
Instructions
Search a catalog with keywords and explicit structured filters.
Args:
query: Keyword terms only. Put constraints in filters, not here —
a phrase like "under $80" left in the query fights the filter.
api: Which catalog to search. Optional when only one is configured.
filters: Filter names from list_catalogs mapped to values. A list
value means "any of these". For accepts_name filters pass the
human name — the bridge resolves it to the upstream id and
reports what it chose in resolutions.
sort: A sort name from list_catalogs. Omit for catalog default.
page: 1-based page number.
page_size: Results per page. Defaults to the catalog's configured size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| page | No | ||
| sort | No | ||
| query | Yes | ||
| filters | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | ||
| page | Yes | ||
| sort | No | ||
| items | Yes | ||
| query | Yes | ||
| total | No | ||
| page_size | Yes | ||
| resolutions | No | What each name-valued filter resolved to, e.g. {"performer": {"name": "Taylor Swift", "id": "9134"}}. Ambiguous names resolve to a best guess — check this before trusting results. | |
| filters_applied | No |