ContactsResourceProvider

Serves one contact per droidmcp://contacts/{id} URI as JSON — the same shape read_contact returns. Nothing is listed up front (an address book is too large and too personal to advertise); clients find ids with search_contacts and read them by template. Needs READ_CONTACTS; without it every read fails as not found. Hidden while read_contact 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 fun complete(uriTemplate: String, argument: String, value: String, context: CompletionContext): List<String>
Link copied to clipboard
open override fun handles(uri: String): Boolean
Link copied to clipboard
open suspend fun list(): List<McpResource>
Link copied to clipboard
open suspend override fun read(uri: String): List<ResourceContents>?