Get Product Details & Variants
get_productRetrieve Shopify product details by handle or URL, including options, images, exact variant IDs, prices, and availability, to support accurate cart and checkout flows.
Instructions
Retrieve product details, sanitized description text, options, images, and exact numeric variant IDs, prices, and availability for a Shopify product handle or URL.
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": {
"store_url": "<store_url>",
"handle_or_url": "<handle_or_url>"
},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_url | Yes | Store domain or HTTPS URL | |
| handle_or_url | Yes | Product handle (e.g. 'rolltop-2-0') or full product URL |