Search products
search_productsFind products for sale for a keyword on the shop you choose (site). Pick the shop yourself: the one the user names, else the one that best fits their country and the product. Searching across shops (site "any") costs 25 credits instead of about 5, so use it only when the user wants results from many shops. Returns title, price, original price, shop, rating, review count, image, availability and a product_id for each. products holds organic results only; ads the shop or search marks as sponsored come back separately in sponsored (at most 5, each with sponsored: true). Costs credits (call check_site for a shop's price, or with site "any" for the price across shops); failed searches are free, and so is one on a named shop (site) that finds nothing; one across shops that finds nothing still costs credits. Tell the user when prices were read (meta.as_of). Needs sign-in.
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>",
"site": "<site>"
},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The shop to search, as a domain (allbirds.com, amazon.de) or a name (allbirds). "any" searches across shops for 25 credits. | |
| limit | No | ||
| query | Yes | What to look for, e.g. "running shoes". | |
| format | No | structured: common product fields. raw: also the shop's own JSON, unchanged (not every shop has it). | structured |
| country | No | Two-letter market code, e.g. US, GB, DE. Picks the shop's market when site is a name. Leave out to use the market of a site like amazon.co.jp (JP); otherwise US. | |
| max_credits | No | Optional budget. If the request could cost more, nothing runs and nothing is charged. |