Search products
kh_searchSearch Khanoumi's cosmetics, skin and hair care, and perfume catalog by keyword to retrieve matching products' price, discount, stock, category IDs, and brand slugs.
Instructions
Search products by keyword: price, discount and stock of each match, plus matching category ids and brand slugs.
Use first for "price of X". Next: kh_find_cheapest, kh_browse, kh_product.
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": "kh_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | From 1. | |
| sort | No | By payable price for cheapest / most_expensive. | popular |
| limit | No | Products per page. | |
| query | Yes | Persian or English keyword, e.g. 'کرم مرطوب کننده', 'cerave'. | |
| max_price | No | Max payable price, Toman. | |
| min_price | No | Min payable price, Toman. | |
| in_stock_only | No | Only orderable products. |