gold_update_stock
Update stock quantity and status for a WooCommerce product via REST API. Requires explicit confirmation and fails closed if credentials are invalid.
Instructions
Gold PRO $29: update Woo stock via PUT /wp-json/wc/v3/products/{id} {stock_quantity, stock_status} — BYOK fail-closed. Bulk-ready (call per SKU).
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>",
"stock_quantity": "<stock_quantity>"
},
"name": "gold_update_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | product id | |
| confirm | No | must be CONFIRM to execute | |
| manage_stock | No | ||
| stock_status | No | ||
| stock_quantity | Yes |