ERP: Change a product's sale price
erp_product_set_priceChange the SALE price of ONE catalog item (the price per base unit, as in erp_product_search): 'item' is its number (SKU) or name as in the catalog (or its id), 'price' the new price in the item's own currency. A name matching several items is refused with the candidates — ask which one, never guess. Only this price changes: currency, tax flag, purchase cost and other units' or customers' prices stay. Proposed write: the person confirms a line with the item and before → after. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"item": "<item>",
"price": "<price>"
},
"name": "erp_product_set_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| price | Yes | New sale price per base unit, in the item's currency. |