wp_update_product_price
Update WooCommerce product pricing by setting regular price, sale price, or price alias directly from your AI assistant.
Instructions
Update WooCommerce product pricing (regular_price, sale_price, or price alias)
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": "wp_update_product_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| price | No | Alias for regular_price | |
| sale_price | No | ||
| regular_price | No |