Search products
tl_searchSearch Technolife products by name, then filter by price, brand, category, stock, and sorting to compare prices, discounts, and ratings.
Instructions
Search Technolife products with prices, discount, stock and rating.
Also returns top categories and brands with codes: pass them back as category_code or brand_codes to narrow. For the lowest price use tl_find_cheapest; for sellers use tl_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": "tl_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page. Relevance pages can repeat items; page with another sort. | |
| sort | No | Price and discount sorts are re-sorted on the price after discount. | relevance |
| limit | No | Products per page. | |
| query | Yes | Product name, Persian or English, e.g. 'آیفون 16'. | |
| in_stock | No | Only orderable products. | |
| max_price | No | Highest price in Toman, e.g. 150000000. | |
| min_price | No | Lowest price in Toman, e.g. 50000000. | |
| brand_codes | No | Codes from `brands` of a result or tl_find_brand, e.g. [16, 19]. | |
| category_code | No | Code from `categories` of a result, e.g. 1 (phones), to skip accessories. |