Search filters
tb_filtersRetrieve available filters for a query or category: subcategories, brands, price range, sorting, and attributes. Use before product search to obtain category IDs, brand IDs, and filter slugs/values.
Instructions
Which filters exist for a query/category: category children, brands, price span, sort options, attributes.
Use before tb_search when you need a category id, a brand id, or the exact attribute slugs and values
(storage, ram, ...) for filters. Needs a query or a category. Brands list is complete when a category is known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search text whose filters you want, e.g. 'لپ تاپ'. | |
| category | No | Category id (e.g. 94). |