Compare Prices
compare_pricesFind per-merchant offers for one product by passing a SerpApi product_id from search_products or a query, returning retailer prices and URLs sorted ascending.
Instructions
Per-merchant offers for one product. Pass the SerpApi product_id from search_products, or a query (the retailer APIs are searched by it too). data: [{merchant, price, url}] ascending.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| product_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||