List products with filters
zm_listList products in a chosen category and filter by brand, price, score, specs, stock, or sort to find matching items within a set budget.
Instructions
List one category's products with the site's filters: brand, price, score, specs, stock, sort.
Use for "best/cheapest X under N Toman". Get brand slugs and spec values from zm_filters first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "<category>"
},
"name": "zm_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based. | |
| sort | No | popular | |
| limit | No | Max results. | |
| query | No | Text to search in the category. | |
| specs | No | Spec filters 'name=value' from zm_filters, e.g. ['رم=8 گیگابایت رم']. Same name twice = either value. | |
| brands | No | Brand slugs from zm_filters, e.g. ['apple','samsung']. | |
| category | Yes | Category slug from zm_categories, e.g. mobile, laptop, vga. | |
| max_price | No | Highest price in Toman. | |
| min_price | No | Lowest price in Toman. | |
| min_score | No | Min user score, whole stars. | |
| priced_only | No | Hide unpriced products (always on for sort=cheapest). | |
| buying_guide | No | Buying guide name (or part) from zm_filters; keeps its recommended products. | |
| in_stock_only | No | Only products in stock. |