CalendarTools

Provider for the calendar tool module. Wires up ReadCalendarTool, CreateEventTool, and SearchEventsTool, which read/write events via CalendarContract. Requires READ_CALENDAR (reads) and WRITE_CALENDAR (event creation).

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

Returns all calendar McpTools bound to context.

Link copied to clipboard

True if all requiredPermissions are currently granted.

Link copied to clipboard

Permissions this module needs: READ_CALENDAR and WRITE_CALENDAR.