CalendarResourceProvider

Serves a day's agenda as JSON — the shape read_calendar returns, up to 100 events. droidmcp://calendar/today is listed so clients can attach it directly; any other day is droidmcp://calendar/{date} with a yyyy-MM-dd date. Needs READ_CALENDAR; without it the listing is empty and reads fail as not found. Hidden while read_calendar is gated off.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val requiredTools: Set<String>
Link copied to clipboard
open override val templates: List<McpResourceTemplate>

Functions

Link copied to clipboard
open suspend override fun complete(uriTemplate: String, argument: String, value: String, context: CompletionContext): List<String>

today, then the dates daily_briefing suggests (CompletionSupport.upcomingDates).

Link copied to clipboard
open override fun handles(uri: String): Boolean
Link copied to clipboard
open suspend override fun list(): List<McpResource>
Link copied to clipboard
open suspend override fun read(uri: String): List<ResourceContents>?