Find cheapest product
ab_find_cheapestFind in-stock products matching a keyword ranked from low to high price in Toman; increase the scan limit when more matches remain.
Instructions
Find the cheapest in-stock products for a keyword, one list sorted by price (Toman).
Use for the lowest price of X. Check ab_product for the size you need.
complete=false means more in-stock matches lie past scanned: raise scan.
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": "ab_find_cheapest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan | No | In-stock results to scan, cheapest first. | |
| limit | No | Max offers. | |
| query | Yes | Product keyword, Persian or English, e.g. 'شامپو ضد شوره'. | |
| match_all_words | No | Titles must contain every query word. |