Propose: set stock quantity
propose_stock_updatePropose a new stock quantity for a WooCommerce product or variation, with a required reason, so a human can review and approve the change before it is applied.
Instructions
Propose a new stock quantity for a product or variation. Requires human approval.
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": {
"product_id": "<product_id>",
"stock_quantity": "<stock_quantity>",
"reason": "<reason>"
},
"name": "propose_stock_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| product_id | Yes | ||
| variation_id | No | ||
| stock_quantity | Yes |