whenna_create_plan
Create a Whenna plan (a shareable link that finds the time everyone is free). Returns the link to share with humans or other agents, and a creator_key that authorizes locking the final time. Times are wall-clock in the given IANA timezone. For a RECURRING plan ("every Tuesday"), pass weekday names in days (e.g. ["Tuesday"] or ["Tue","Thu"]) — the plan then has no dates and calendar events repeat weekly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Candidate days: YYYY-MM-DD dates; OR weekday names (Mon…Sun) for weekly; OR ["daily"]; OR for monthly a single rule like ["15"] (day of month) or ["2nd Wednesday"] / ["last Friday"]. Do not mix forms. | |
| title | Yes | What the plan is, e.g. "Team dinner" | |
| end_hour | Yes | Latest hour to consider (1-24, exclusive) | |
| language | No | Optional 2-letter language for emails to notify_email (en es pt fr de it nl ru tr id hi ja ko zh ar). Default en. | |
| location | No | Optional place ("Nonna's, 5th Ave") — shown on the plan and embedded in everyone's calendar event | |
| timezone | No | IANA timezone, e.g. America/Chicago | UTC |
| frequency | No | How a recurring plan repeats. monthly requires days to be one rule: a day-of-month ("15") or an nth weekday ("2nd Wednesday", "last Friday"). Default weekly. | |
| start_hour | Yes | Earliest hour to consider (0-23) | |
| every_weeks | No | Repeat interval for recurring plans (with frequency: 2+weekly = every other week, 2+monthly = every other month, 3+daily = every 3 days) | |
| notify_email | No | Optional creator email: gets an alert on the first answer, digests after, a "everyone's free" moment, and the lock confirmation. Every email has one-click unsubscribe. | |
| slot_minutes | No | Time-slot precision |