get_product
Retrieve full normalized WooCommerce product details by integer ID, including SKU, price, sale price, stock quantity, and stock status. Returns NOT_FOUND when the product does not exist.
Instructions
Retrieve full normalized details for a specific WooCommerce product by its integer ID, including SKU, price, sale price, stock quantity, and stock status. Returns NOT_FOUND if product does not exist.
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_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The unique positive integer ID of the WooCommerce product to retrieve. |