Get Shop Product
get_shop_productFetch full product information, images, and exact CHF pricing by product ID to confirm details before adding to a checkout session.
Instructions
Get detailed information about a specific shop product.
Use this after list_shop_products to get the full description, all images, and exact pricing for a product before adding it to a checkout session.
Args: product_id: WooCommerce product ID (from list_shop_products result).
Returns: Dictionary with id, name, price_chf, permalink, description, short_description, on_sale, stock_status, images (list of URLs).
Example: >>> result = await get_shop_product(42) >>> print(result['name'], result['price_chf'])
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": {
"product_id": "<product_id>"
},
"name": "get_shop_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||