Get WooCommerce Product
woocommerce_get_productRetrieve complete product details including pricing, stock, images, categories, and variations by providing a numeric product ID.
Instructions
Retrieve full details for a single product by ID, including description, pricing, stock, images, categories, tags, attributes, and (for variable products) the list of variation IDs.
Args:
product_id (number): The product's numeric ID
response_format ('markdown'|'json'): default 'markdown'
Returns: Full product object.
Error Handling:
Returns "Error: Resource not found (404)" if the product ID doesn't exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The numeric WooCommerce product ID | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data | markdown |