Find cheapest product
kh_find_cheapestFind the cheapest in-stock cosmetics, skincare, hair care, or perfume products for a keyword, returning a flat list sorted by payable price in Toman.
Instructions
Find the cheapest in-stock products for a keyword, one flat list by payable price (Toman).
complete=false: matches go on past scanned, raise scan. Next: 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_find_cheapest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan | No | Max search results to scan, cheapest first, 300 per request. | |
| limit | No | Max offers to return. | |
| query | Yes | Persian or English keyword, e.g. 'کرم مرطوب کننده', 'cerave'. | |
| category_id | No | Id from kh_categories / kh_search, e.g. 145. | |
| match_all_words | No | Keep only products whose title or brand contains every query word. |