manage_focus_time
Create, list, update, or delete Focus Time events that auto-decline conflicting invites and set chat to Do Not Disturb.
Instructions
Create, list, update, or delete Focus Time events.
Focus Time is a special event type that auto-declines conflicting invitations and (by default) sets Google Chat to Do Not Disturb for the duration. Lives on the primary calendar only. For regular events use manage_event; for OOO use manage_out_of_office. Side effects: mutating actions may auto-decline existing/incoming invites and flip chat presence. Requires the calendar.events OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| action | Yes | "create", "list", "update", or "delete". Case-insensitive. | |
| start_time | No | Start date/time. "YYYY-MM-DD" auto-converts to midnight; RFC3339 works for partial days. | |
| end_time | No | End (exclusive). For a full day on Apr 5 pass start="2026-04-05", end="2026-04-06". | |
| summary | No | Display label. Defaults to "Focus Time". | |
| description | No | Optional body text for context. | |
| auto_decline_mode | No | "declineAllConflictingInvitations" (default), "declineOnlyNewConflictingInvitations", or "declineNone". | |
| decline_message | No | Body of auto-decline replies. | |
| chat_status | No | "doNotDisturb" (default) or "available". | |
| recurrence | No | RFC5545 rules, e.g. ["RRULE:FREQ=WEEKLY;COUNT=10"]. | |
| timezone | No | IANA zone like "America/New_York". Required when start/end are date-only or lack a UTC offset. | |
| time_min | No | List-action range start. Defaults to now. | |
| time_max | No | List-action range end. | |
| max_results | No | List-action cap. Default 10. | |
| event_id | No | Event ID. Required for update and delete. | |
| calendar_id | No | Default "primary". Focus Time lives on primary calendars only — pass "primary" or the user's primary email. | primary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |