Skip to main content

Module calendar_tool

Module calendar_tool 

Source
Expand description

Calendar tool — wraps CalendarApi behind the AgentTool interface.

Provides agents with calendar event management capabilities. Operations: create, update, delete, list, get, search, freebusy.

§Example

{ "op": "create", "title": "Team standup", "start": "2026-06-07T09:00:00Z", "end": "2026-06-07T09:30:00Z" }
{ "op": "list", "from": "2026-06-07T00:00:00Z", "to": "2026-06-14T00:00:00Z" }
{ "op": "search", "query": "standup" }
{ "op": "freebusy", "from": "2026-06-07T00:00:00Z", "to": "2026-06-14T00:00:00Z" }
{ "op": "delete", "uid": "event-uid-here" }

Structs§

CalendarTool
Agent tool for calendar event management.