Get Product Variants
get_product_variantsFetch product variant offer IDs, attributes, warranty, and prices by product_id to compare seller offers and identify exact variants for cart planning.
Instructions
List offer/variant IDs, attributes, warranty and prices from the variants endpoint.
Cached for 60 seconds. Preserve exact IDs; a variant ID identifies a seller offer, not just a color or size. Unknown availability and shipping remain unknown.
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": {
"product_id": "<product_id>"
},
"name": "get_product_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| coverage | No | variants_endpoint | |
| variants | No | ||
| warnings | No | ||
| product_id | Yes | ||
| source_url | No | ||
| observed_at | No | ||
| cache_ttl_seconds | No |