Package-level declarations

Types

Link copied to clipboard

Provider for the clipboard tool module. Wires up ReadClipboardTool and WriteClipboardTool, which use the system ClipboardManager. No permissions required.

Link copied to clipboard

Reads the system primary clip via ClipboardManager, coercing the first item to text. No permissions required (though on API 29+ the OS only allows access to the foreground app or default IME). Output always includes has_content (whether a primary clip exists), is_text (clip MIME type starts with text/), and text (coerced string, or null when empty/unavailable).

Link copied to clipboard

Writes plain text to the system primary clip via ClipboardManager.setPrimaryClip. No permissions required. text is mandatory; label defaults to "droid-mcp". Output: success (true), the resolved label, and length (character count of the written text).