wordpress_wc_update_stock
wordpress_wc_update_stockUpdate stock quantity for a WooCommerce product by product ID. Manage inventory programmatically without manual entry.
Instructions
Update product inventory/stock levels
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": {
"productId": "<productId>"
},
"name": "wordpress_wc_update_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes |