search_products
Discover and compare products by name across merchants, returning ranked results with brand, price, image, and direct link. Narrow by merchant; use checkout tools when ready to buy.
Instructions
PRODUCT DISCOVERY ONLY — for when the user is browsing, comparing, or exploring products and has not yet decided exactly what to buy. NOT for purchasing: if the user wants to buy / order named products from a specific merchant, do NOT call this tool — call create_search_checkout directly instead. Searches for products by name across merchants and returns ranked results each with name, brand, merchant, image, priceFrom, currency, and directUrl. Optionally narrow results to a specific merchant while still returning others. If the user later decides to order a result, pass its directUrl to create_checkout (or to get_product_details for variants).
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": {
"name": "<name>"
},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Product name or search query | |
| merchant | No | Optional merchant name to prioritize results (e.g. 'amazon', "Macy's") |