Save Pickup Settings
save_pickup_settingsChange a store's Pickup Settings page: isEnabled (customers can book pickup; turning it on also shows the Pickup Monitor in the menu), leadTimeMinutes, maxDaysAhead, slotDurationMinutes, blackoutDates (YYYY-MM-DD, the full list), timeSlots (the full weekly schedule: day, store-local HH:mm start and end, optional maxOrders and isActive; a window keeps its identity by day, start and end) and locations (the full list: with an id it updates that location, without one it adds one, and any left out is removed). Omitted fields keep their current values; read them first with get_pickup_settings. Admin. Requires Write + pickup.execute; operator credentials only. Preview first, then repeat identical arguments with previewReceipt and idempotencyKey. In-app assistants get a confirm card.
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": "save_pickup_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Store id, code or name; optional when the company has one store. | |
| preview | No | ||
| isEnabled | No | Whether customers can book pickup at this store. | |
| locations | No | The complete list of pickup locations. | |
| timeSlots | No | The complete weekly schedule of pickup windows. | |
| maxDaysAhead | No | How many days ahead customers can book (1 or more). | |
| blackoutDates | No | The complete list of store-local dates (YYYY-MM-DD) customers cannot book. | |
| idempotencyKey | No | ||
| previewReceipt | No | ||
| leadTimeMinutes | No | Minutes between ordering and the earliest pickup (0 or more). | |
| slotDurationMinutes | No | Length of a pickup slot, in minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | ||
| nextStep | No | ||
| settings | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |