Search products
bm_searchSearch Banimode’s fashion catalog by keyword to find priced products with discounts, colors, and in-stock sizes; filter by price, brand, category, or sort results.
Instructions
Search Banimode fashion products by keyword and return priced cards with discount, color and sizes in stock.
Each card is one product in one color (ids repeat). Call bm_product for all colors and sizes.
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": {
"query": "<query>"
},
"name": "bm_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. | |
| size | No | Size label, e.g. 'M', '42', 'فری سایز'. | |
| sort | No | 'discount' = biggest saving first. | relevance |
| limit | No | Products per page. | |
| query | Yes | Search words, Persian works best, e.g. 'مانتو مجلسی'. | |
| brand_id | No | Brand id from bm_brands. | |
| in_stock | No | Only products with stock. | |
| max_price | No | Maximum price, Toman. | |
| min_price | No | Minimum price, Toman. | |
| category_id | No | Category id from bm_categories. |