Search iHerb
iherb_searchSearch iHerb for up to 10 product queries in one call and get lean candidates with prices, ratings, and stock status. Filters by category, price, and sort order; never places orders.
Instructions
Search iHerb for one or more queries in a single call.
Returns lean product candidates (id, title, brand, price, original_price, price_per_unit, rating, review_count, in_stock, image, canonical url). Never places orders or modifies a cart.
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": {
"queries": "<queries>"
},
"name": "iherb_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: relevance, best-selling, rating, price-asc, price-desc, or newest. | relevance |
| queries | Yes | 1 to 10 search queries (e.g. ['vitamin d3 5000 iu', 'magnesium glycinate']). | |
| category | No | Optional iHerb numeric category id filter (cids parameter). | |
| per_query | No | Maximum candidate products returned per query (default 8). | |
| max_price_cents | No | Optional maximum price filter in integer cents of the configured currency. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |