wc_get_product
Retrieve a single WooCommerce product and its full description by ID. Use it to fetch product details for AI assistants managing store data through the WordPress REST API.
Instructions
Get one WooCommerce product with its description.
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": {
"id": "<id>"
},
"name": "wc_get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |