ERP: Find products and prices
erp_product_searchFind products / goods / services in the company catalog by name, item number (SKU) or barcode and return each one's SALE PRICE (price per unit, currency, whether tax is included; prices for other units of measure and customer-specific prices when few items match) and the stock on hand. Answers 'скільки коштує X', 'яка ціна на X', 'what do we sell X for', 'find product X', 'артикул X'. Search by a short stem of the name (e.g. 'B1', 'магні'); to try several names, spellings or products at once pass them ALL in 'queries' in ONE call (e.g. ['вітамін C', 'vitamin C', 'аскорбін']) instead of calling again. When several items match, list them with their prices or ask which one. Also returns the item's description (and the shop texts when few items match). Read-only; purchase cost and margin are not returned. To change a price use erp_product_set_price.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "erp_product_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Name stem, item number or barcode. Empty lists the first items. | |
| queries | No | Several names / spellings / products looked up in one call. |