Search items
search_itemsFind SAP Business One items by matching text in ItemCode or ItemName, filter to in-stock results, and choose returned fields.
Instructions
Search items whose ItemCode or ItemName contains the text.
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": "search_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (1-50, default 20) | |
| query | No | Text contained in ItemCode or ItemName | |
| fields | No | Subset of fields to return. Allowed: ItemCode, ItemName, ItemsGroupCode, BarCode, InventoryItem, SalesItem, PurchaseItem, InventoryUOM, QuantityOnStock, QuantityOrderedFromVendors, QuantityOrderedByCustomers, Valid, Frozen | |
| inStockOnly | No | Only items with QuantityOnStock > 0 |