Business-hour overlap on a date
business_hours_overlapWork-hour overlap for two to eight cities in different time zones on one date. Use when the user asks when the work hours of several cities overlap on a day. Uses the same overlap as the planner: work is 9:00–17:00 local, early or late is 7:00–9:00 and 17:00–19:00, and other hours are night. The result is that day's fair slot, with label best, fairest, or a shifted least-bad window, each city's local start and end, and the score. A public holiday in a city is named and lowers the score. date is YYYY-MM-DD.
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": {
"cities": "<cities>",
"date": "<date>"
},
"name": "business_hours_overlap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The day to measure, YYYY-MM-DD. Also accepted: YYYY-MM-DDTHH:MM, YYYY-MM-DDTHH:MM:SSZ, YYYY/MM/DD, or YYYYMMDD. | |
| cities | Yes | Two to eight cities. A list of strings. Each item is one city. A comma in an item adds a region, state or country to that city; it is not a second city. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example "Paris, France", "Paris, TX" or "Munich, Bavaria"; it is not a second city. Multiple cities must be separate list items, for example ["Berlin","Rome"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| date | Yes | ||
| link | Yes | ||
| error | No | ||
| label | Yes | ||
| score | Yes | ||
| start | Yes | ||
| weeks | Yes | ISO week (Monday start; week 1 contains the year's first Thursday) and US week (Sunday start; 1 January is week 1 of that calendar year). | |
| cities | Yes | ||
| reasons | Yes | ||
| shifted | Yes | ||
| candidates | No | ||
| zone_notes | No | Present when a city argument was a time zone abbreviation or fixed offset such as EST or UTC+2. Says which time zone it was read as, and what else the abbreviation can mean. | |
| match_notes | No | Present when the city name given was not an exact match, so the closest city was used. Says which city was used. Other close matches are in alternatives. | |
| alternatives | No | Other cities that matched the same name, after the best-ranked city was chosen. The order is the site search order: match, then priority, then population. |