Preview Vendor Forecast
preview_vendor_forecastShow exactly what one supplier sees on the vendor portal's demand forecast pages, as the supplier page's Preview as supplier panel does, whatever its sharing level: the house items it default-supplies, each with monthly demand history and forecast (with its range) in the supplier's purchase unit, pattern and confidence. Without item it returns one page of the list (search on name or SKU, sortBy name|sku, pageSize at most 24); with item (id or SKU) that item's page, which adds planned demand events and, at ForecastAndOrderTiming, the estimated next order. Cost, price, stock, customers and the forecast model never appear. Requires an operator (unpinned) credential and an Admin user.
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": {
"supplier": "<supplier>"
},
"name": "preview_vendor_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | Optional item id (GUID) or SKU: preview that item's forecast page. | |
| page | No | List only: page number from 1 (default 1). | |
| search | No | List only: text matched against item name and SKU. | |
| sortBy | No | List only: name (default) or sku. | |
| pageSize | No | List only: items per page (default 20, max 24). | |
| supplier | Yes | The supplier's id (GUID) or exact name. | |
| sortDirection | No | List only: asc (default) or desc. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | ||
| page | No | ||
| items | No | ||
| message | No | ||
| pageSize | No | ||
| supplierId | No | ||
| totalItems | No | ||
| supplierName | No | ||
| effectiveSharing | No |