Replenishment Defaults
get_replenishment_defaultsRead the tenant's replenishment defaults: the purchase lead time and flat safety stock an item falls back to when nothing more specific covers it, tenant-wide and per item group, with the value in force and where it came from (item_group_default, tenant_default or system_default; the system values are 14 days and 7 days). Pass itemIds to see which defaults specific items resolve to. Reorder and lead-time tools report these as lead-time sources ItemGroupDefault / TenantDefault. Change them with set_replenishment_defaults.
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": "get_replenishment_defaults"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemIds | No | Optional item ids (up to 200) to resolve defaults for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| tenant | No | ||
| nextStep | No | ||
| itemGroups | No | ||
| precedence | No | ||
| systemLeadTimeDays | No | ||
| systemSafetyStockDays | No | ||
| inheritingItemGroupCount | No |