Skip to main content

Setup

Google Calendar uses the same OAuth credentials as Gmail.
1
Enable Calendar in config
2
export NTRP_CALENDAR=true
3
Ensure OAuth credentials exist
4
If you’ve already set up Gmail, the same ~/.ntrp/credentials.json works. Otherwise, follow the Gmail setup steps but also enable the Google Calendar API.
5
Authenticate
6
On first calendar tool use, ntrp opens a browser for OAuth consent.

Available tools

ToolDescription
calendarSearch and list events
create_calendar_eventCreate an event (requires approval)
edit_calendar_eventEdit an event (requires approval)
delete_calendar_eventDelete an event (requires approval)

Event-driven automations

Calendar events can trigger automations. For example, get a briefing 15 minutes before each meeting:
Create an automation that triggers 15 minutes before any calendar event.
It should recall memory about the attendees and summarize recent interactions.