Resolve buy link
resolve_productResolve ASIN, Amazon URL, or keywords to a buyUrl on the chosen storefront. amazon.com links carry sw-petbox-20, amazon.se links sw-petbox-21 (trackingTag). marketplace optional (fallback: country → en-US → amazon.com → else amazon.se).
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 | ||
| asin | No | ||
| stage | No | ||
| locale | No | User locale, e.g. en-US (US shoppers → amazon.com) or sv-SE (Sweden → amazon.se). If marketplace and country are omitted, en-US selects amazon.com. | |
| country | No | ISO country of the shopper, used when marketplace is omitted: US → amazon.com, SE → amazon.se. | |
| species | No | ||
| keywords | No | ||
| sizeBand | No | ||
| budgetBand | No | ||
| kitCategory | No | ||
| marketplace | No | Amazon storefront: amazon.com (United States — 224 hand-picked products, English, USD, /dp/ links tagged sw-petbox-20) or amazon.se (Sweden, default — 440 products, tag sw-petbox-21); ids us / se also work. Optional: when omitted → country, then locale / Accept-Language en-US → amazon.com, otherwise amazon.se. Other storefronts get search links. |