woo_update_product_meta
Update product meta key-value pairs, including regular price, sale price, stock, stock status, and SKU, to adjust WooCommerce product details.
Instructions
Update product meta data (merged; _regular_price, _sale_price, _stock, _stock_status, _sku go through the product setters)
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": {
"site": "<site>",
"id": "<id>",
"meta": "<meta>"
},
"name": "woo_update_product_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID | |
| meta | Yes | Meta key-value pairs | |
| site | Yes | Site id (see list_sites) |