Seller update stock
seller_update_stockUpdate a listing's stock count. Pass stock for an absolute value or delta for a relative change. Resulting stock must remain >= reserved.
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>"
},
"name": "seller_update_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | No | Signed adjustment applied to current stock (e.g. -2). Result cannot go below reserved stock. | |
| stock | No | Absolute new stock level in units. Provide either stock or delta, not both. | |
| product_id | Yes | UUID of the listing whose stock to change. |