get_event
Retrieve detailed calendar event information by specifying the calendar and event IDs to access specific appointment or meeting details.
Instructions
Get full details of a specific calendar event by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calendarId | Yes | Calendar ID containing the event | |
| eventId | Yes | Event ID (UUID from list_events or search_events) |
Implementation Reference
- lib/caldav.js:389-399 (handler)The `getEvent` handler fetches a specific event from a CalDAV calendar using the event's unique ID and the calendar's ID, then parses the iCal data.
export async function getEvent(calendarId, eventId) { const { dataHost, calendarsPath } = await discover(); const url = `${dataHost}${calendarsPath}${calendarId}/${eventId}.ics`; const resp = await davRequest('GET', url); if (resp.status === 404) throw new Error(`Event not found: ${calendarId}/${eventId}`); if (resp.status >= 400) throw new Error(`CalDAV GET failed: ${resp.status}`); const event = parseVEvent(resp.body); return { eventId, calendarId, etag: resp.etag, ...event }; }