get_product
Get one public product by id, including its purchasable variants. Use an id from search_products results.
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": {
"id": "<id>"
},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The product id, from a search or list result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product id. | |
| name | Yes | Product name. | |
| path | Yes | Storefront path of the product page. | |
| tags | Yes | The product's tags from the controlled vocabulary. | |
| stock | Yes | Stock summed over the product's enabled variants. | |
| rating | Yes | Live reviews aggregate for this product. | |
| category | Yes | The product's category. | |
| variants | No | The product's purchasable combinations. Present on the detail response only — the list stays a summary — so an agent chooses a combination from the detail it already fetched before adding to a cart. | |
| price_yen | Yes | Current selling price in integer yen, tax included, after any active sale — the price a buyer would pay. | |
| purchasable | Yes | Whether the product can be bought right now, under the same rule the cart applies: untracked stock or backorder is always buyable; tracked stock needs a unit on hand. | |
| allow_backorder | Yes | Whether the product can be ordered beyond its stock. |