Create a Focus Time block
create_focus_timeBlock time on your primary Google Calendar for focused work, auto-decline conflicting invitations, and flip Google Chat to Do Not Disturb during the session.
Instructions
Creates a Focus Time event: blocks the slot, can auto-decline conflicting invitations (auto_decline + decline_message) and can flip Google Chat to Do Not Disturb (chat_status). ONLY works on the PRIMARY calendar of a Google Workspace account — consumer Gmail and secondary calendars get HTTP 400. Always timed (start/end date_time), never all-day. Manage it afterwards like any event: update_event / delete_event, and list_events with event_types=["focus_time"] to find existing blocks. Not retried after an ambiguous failure — check list_events before re-sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | Title (defaults to "Focus time"). | |
| time_zone | No | IANA time zone name, e.g. "Europe/Berlin" or "America/New_York". | |
| calendar_id | No | The calendar id from list_calendars, or "primary" for the authenticated user's main calendar. | primary |
| chat_status | No | Google Chat presence during the block. | |
| auto_decline | No | Which conflicting meeting invitations Calendar auto-declines: none, all overlapping ones, or only new ones arriving after the block is created (existing meetings survive). | |
| send_updates | No | Who receives an email about this change: all guests, only guests outside your organization, or nobody. Defaults to none — attendees are NOT notified unless you pass all. | |
| end_date_time | Yes | Block end, RFC3339. | |
| decline_message | No | Message sent with each auto-declined invitation. | |
| start_date_time | Yes | Block start, RFC3339 (these blocks are always timed, never all-day). |