Product details
get_productGet full detail for one product by its slug (handle): description, price, and each variant/option with price and in-stock status.
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": {
"slug": "<slug>"
},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Product slug/handle (last path segment of the product URL) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| live | No | ||
| slug | Yes | ||
| image | No | ||
| price | No | ||
| title | Yes | ||
| on_sale | No | ||
| category | No | ||
| in_stock | No | ||
| variants | No | ||
| regular_price | No |