Score team timezone friction + find the meeting window
find_meeting_slotGiven a set of cities/timezones and each participant's local working hours, find the longest UTC window where everyone is simultaneously within their working day (DST-accurate), AND score the team's overall timezone friction. Returns the overlap in UTC and in each participant's local time (or null with the best partial coverage), plus a friction block: a 0–100 score, grade (Effortless/Manageable/Strained/Broken), daily shared hours, coverage, and the loneWolf — the member whose removal would free the most team overlap. Useful for scheduling and for hiring/team-composition decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Default working-window end, minutes from local midnight (default 1080 = 18:00). | |
| date | No | Reference date (ISO YYYY-MM-DD) for DST. Defaults to today (UTC). | |
| hours | No | Optional per-zone overrides aligned to `zones`, e.g. '540-1080;420-720'. | |
| start | No | Default working-window start, minutes from local midnight (default 540 = 09:00). | |
| zones | Yes | IANA timezone identifiers, e.g. 'Europe/London'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| overlap | No | ||
| friction | No | ||
| referenceDate | No | ||
| bestPartialCount | No |