DeleteContactTool

Deletes a contact (the aggregated contact_id) and every raw contact merged into it. Requires WRITE_CONTACTS and READ_CONTACTS. Errors when the contact doesn't exist, so a repeated call reports not-found. On synced accounts the provider marks the raw contacts deleted and the sync adapter removes them on its next sync. Output: contact_id, deleted (true), and the deleted contact's name.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val annotations: ToolAnnotations
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val outputSchema: Map<String, Any>
Link copied to clipboard
open override val parameters: List<ToolParameter>

Functions

Link copied to clipboard
open suspend override fun execute(params: Map<String, Any>): ToolResult