Search products
mk_searchSearch MasterKala products by keyword to compare prices, discounts, and stock, with in-stock items first. Also returns matching category IDs and brand/tag pages for browsing.
Instructions
Search MasterKala products by keyword: price, discount and stock of each match.
Use first for "price of X". In-stock first. Also returns matching categories (ids for mk_browse) and brand/tag pages.
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": "mk_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | From 0. | |
| limit | No | Products per page. | |
| query | Yes | Persian or English keyword, e.g. 'هندزفری بلوتوث'. | |
| in_stock_only | No | Drop items not buyable now (total still counts all matches). |