compare_prices
Compare a product's price across merchants. Returns offers plus lowest/highest, all linking to the LMK product page.
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": {
"idOrSlug": "<idOrSlug>"
},
"name": "compare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrSlug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offers | Yes | ||
| product | Yes | An LMK catalog product. `url` is always an LMK product-page link. | |
| lowestPrice | No | ||
| highestPrice | No |