set_opening_hours
Replace a merchant store's entire weekly opening hours by submitting a full shift schedule; omitted days are removed.
Instructions
Replace a merchant's ENTIRE weekly schedule (days not sent are removed).
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": {
"merchant_id": "<merchant_id>",
"storeId": "<storeId>",
"shifts": "<shifts>"
},
"name": "set_opening_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shifts | Yes | Full weekly shift list — replaces all existing hours. | |
| storeId | Yes | Store ID for the schedule payload. | |
| merchant_id | Yes | Merchant ID |