{"agent":"<agent id>","input":"Weekly rebooking check for this tutor. Time zone Europe/London. Today is Monday 2026-11-23. On the primary calendar, call events.list with timeMin 2026-11-16T00:00:00Z, timeMax 2026-11-23T00:00:00Z, showDeleted=true, singleEvents=true. Keep events with status 'cancelled' that are lessons: the title starts with 'Lesson:' (for a cancelled instance with no title, look up its series by recurringEventId and use the series' title and attendees). For each, take the student's email from attendees (not the tutor). Then call events.list with timeMin 2026-11-23T00:00:00Z, timeMax 2026-12-14T00:00:00Z, singleEvents=true, orderBy=startTime, q=<student email>. Keep the student on the list only if no future event has status 'confirmed' with that student's responseStatus other than 'declined'. Return JSON only: {students: [{student_email, subject, cancelled_start, last_attended_start, next_booked_start (omit if none), note}]} where note is two friendly sentences the tutor could send to the family offering to rebook, with no dates promised. Read only: never create, update, move or delete an event, and never send anything."}