Search products
bs_searchSearch Basalam product listings by query and filter results by price, category, shipping, discount, and installment options; returns product cards with prices in Toman.
Instructions
Search Basalam products and return a page of cards with prices in Toman.
To rank by real price use bs_find_cheapest. Link: https://basalam.com/p/; pages can repeat a few products.
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": "bs_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based. | |
| sort | No | Order. | relevance |
| limit | No | Products per page. | |
| query | Yes | Persian words, e.g. 'عسل طبیعی'. | |
| max_price | No | Toman, e.g. 500000. | |
| min_price | No | Toman, e.g. 100000. | |
| category_id | No | Id from bs_categories, any level. | |
| top_vendors | No | Only top-rated shops. | |
| has_discount | No | Only discounted. | |
| installments | No | Only installment-payable. | |
| free_shipping | No | Only free shipping. |