Find product
resolve_productMatches a product by name, SKU or exact barcode, for a document line. Returns id, sku, name, unit, the default sell price the form would use, and isService (true = "Service — no stock": selling it never counts stock or posts a cost). Plain names or SKUs match best; a barcode must match the saved one exactly. Statuses: resolved, ambiguous (with candidates) or none; the tool never picks among candidates.
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": {
"query": "<query>"
},
"name": "resolve_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |