Get one product
get_productLook up a single product in full, by exactly one of productId, sku or handle. productId is the reliable lookup; SKU and handle are resolved by searching, which is slower and can match more than one product. A result with found: false and exhaustive: false means the search gave up before covering the catalogue, which is NOT the same as the product not existing.
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": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Look up by SKU. May match a variant rather than a product — the result says which. | |
| handle | No | Look up by URL handle/slug. Only Shopify and Wix products have one. | |
| source | No | Same meaning as in search_products. | |
| productId | No | The id exactly as search_products returned it. The reliable lookup. | |
| includeVariants | No | Include the full variant list (default false). Fifty variants is a lot of text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| found | Yes | ||
| source | No | ||
| product | Yes | The product in full, with images and (on request) variants | |
| ambiguous | Yes | Every match, when more than one product matched | |
| matchedBy | No | ||
| exhaustive | No | false with found: false means the search gave up, not that the product is absent | |
| matchedVariant | No |