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:
I’m planning to have a technical kickoff session with Carol. Create a secondary calendar called “Search Algorithm Beta.” Allow Carol(carol.white@techcorp.com) to edit. Starting from November 14, 2025, find the first day when I have no scheduled events, and schedule “Search Algorithm Beta – Technical Kickoff” for 60 minutes at 3:00 PM UTC with Google Meet.

Available tools:
query_freebusy
create_event
insert_acl_rule
create_calendar
get_calendar_list

Verification checks:
[{"verifier_type": "database_state", "name": "Calendar Creation", "description": "Verify secondary calendar created", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) AS count FROM calendars WHERE summary = 'Search Algorithm Beta' AND is_primary = 0 AND user_id = 'bob_developer'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Carol Edit Access", "description": "Check Carol's edit permissions", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) AS count FROM acls WHERE user_id = 'bob_developer' AND scope_id LIKE '%carol%' AND role = 'writer'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Event Scheduled", "description": "Verify event created on available day", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) AS count FROM events WHERE user_id = 'bob_developer' AND summary LIKE '%Search Algorithm Beta \u2013 Technical Kickoff%' AND start_datetime = '2025-11-16 15:00:00.000000' AND end_datetime = '2025-11-16 16:00:00.000000' AND start_timezone = 'UTC' AND end_timezone = 'UTC'", "expected_value": 1, "comparison_type": "equals"}}]