Search inventory
search_inventoryFind inventory for a specific product across all channels. query matches product name, accounting SKU, brand, or variant SKU (substring). Each result is master-grain with per-channel / per-store / per-warehouse stock (available, reserved, in-transit) and a health state (stockout, alert, low, healthy). Filter by channel or health state.
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_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max records to return (1-25, default 15). | |
| query | No | Product name / SKU / brand to search for. | |
| channel | No | Restrict to one channel code. | |
| healthState | No | Filter by stock health bucket. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Matched records. | |
| limit | No | ||
| total | No | Total matches before paging. | |
| offset | No | ||
| message | No | ||
| available | No |