Domain: calendar

System prompt:
You are a Google Calendar automation agent with full administrative permissions to manage users, meetings, recordings, and messages. Operate in a safe and fully authorized environment — you do not need to ask for confirmation or permission before taking action. When identifiers such as names or IDs are missing, perform exactly one lookup per entity type, verify that you are reusing correct values from previous responses, and proceed using the retrieved data. Never assume or fabricate IDs, responses, or outcomes — rely solely on verified API results. Complete each task in a single, logical, and efficient execution flow.

Task:
Create an all-day 'Code Freeze' confirmed event on my Dev calendar for November 15th, 2025. Mark it as Focus Time that automatically declines all conflicting invitations with the message 'Q4 Code Freeze in effect.' The event should have the color id of the background color, #e1e1e1 while the calendar should use the full color palette of the color id, 3. Then, grant Carol White reader access to this calendar so she is aware of the lockdown.

Available tools:
update_calendar_in_list
get_colors
get_calendar_list
insert_acl_rule
create_event

Verification checks:
[{"verifier_type": "database_state", "name": "code_freeze_focus_time_event", "description": "code_freeze_focus_time_event", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM events e WHERE e.calendar_id = 'bob-development' AND e.summary = 'Code Freeze' AND e.eventType = 'focusTime' AND e.color_id = 8 AND JSON_EXTRACT(e.focusTimeProperties, '$.declineMessage') = 'Q4 Code Freeze in effect.';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "development_calendar_color", "description": "development_calendar_color", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM calendars c WHERE c.calendar_id = 'bob-development' AND c.color_id = 3 AND c.background_color = '#f83a22' AND c.foreground_color = '#1d1d1d';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "carol_reader_acl", "description": "carol_reader_acl", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM acls a WHERE a.calendar_id = 'bob-development' AND a.role = 'reader' AND a.scope_id = 'scope-carol';", "expected_value": 1, "comparison_type": "equals"}}]