Show product details
get_product_detailsShow full details for a single product/menu item by product_id (obtain it from a search_merchant_products result). Returns the image, description, price/discount, stock, and addon options (sizes, extras, toppings) with their prices — rendered as a card when the host supports MCP Apps. Call this when the user taps a product or asks about a specific item.
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": {
"productId": "<productId>"
},
"name": "get_product_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Result language: en, ar, kr, bd. | |
| productId | Yes | Product id, e.g. from a `search_merchant_products` result's product_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | No | The product: name, price, stock, image, options/addons. | |
| merchant | No | The owning merchant (merchant_id, name, city). |