Resolve buy / inspiration link
resolve_productResolve an ASIN, pasted Amazon /dp/ URL, or keywords to a buyUrl (product /dp or romantic search). Pass marketplace=amazon.com for US shoppers or amazon.se for Sweden (fallback: country, then Accept-Language en-US → amazon.com, else amazon.se). Uses the server's tracking ID for each storefront; never invents tags. OpenAPI: resolveProduct.
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": "resolve_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Pasted Amazon product URL | |
| asin | No | 10-char Amazon ASIN | |
| locale | No | User locale, e.g. en-US, en, sv. amazon.com always answers in English. | |
| country | No | ISO country of the shopper, e.g. US or SE. Used when marketplace is omitted (US → amazon.com). | |
| category | No | ||
| keywords | No | Search keywords if no ASIN | |
| occasion | No | ||
| marketplace | No | Amazon storefront for the end user: amazon.com (United States) or amazon.se (Sweden, default); ids like us/se also work. Pass marketplace=amazon.com for US shoppers to get amazon.com/dp/ASIN links with English titles. If omitted, country is used, then Accept-Language (en-US → amazon.com), else amazon.se. A missing store never errors. | |
| preferSearch | No |