Get product details
get_productReturns one published product by id, slug or sku: long and short description (HTML), prices, stock status, attributes (flavour, nicotine strength), variations, images, categories and SEO title and description.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric ID. | |
| sku | No | ||
| slug | No | URL slug. | |
| rendered | No | Also return the visible text of the public page. Use this when the content comes from the theme template rather than the editor. | none |