Get a product
get_productReturns one product by id. Each variant, such as a size, has its own price, stock and quantity. Use it after a list or search when you need stock by size. Quantity is null unless the store's count is known.
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 | A product id from list_products, search_products or recent_changes. |