Prepare an hours update
update_hoursStage opening hours for a location belonging to the signed-in merchant. With days, only those days change and the rest keep their current hours; without it, the whole week is replaced. Returns intent, expires_at and consequence describing the full week, including closed days. Requires company:write; confirm_update_hours applies it after approval.
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": {
"location_id": "<location_id>",
"hours": "<hours>",
"idempotency_key": "<idempotency_key>"
},
"name": "update_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| hours | Yes | ||
| location_id | Yes | ||
| idempotency_key | Yes |