get_product
Read one product with its options and variants. Use it before add_to_cart, which needs the id of one variant. Returns the product with every variant's id, options, price and availability, plus related products.
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": {
"handle": "<handle>"
},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | the product handle, from a search or a collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | Upstream Product (the reshaped one the UI consumes). | |
| related | Yes |