Package-level declarations
Types
Provider for the clipboard tool module. Wires up ReadClipboardTool and WriteClipboardTool, which use the system ClipboardManager. No permissions required, though on API 29+ reads only succeed while the host app is foreground or the default IME.
Reads the system primary clip via ClipboardManager, coercing the first item to text. No permissions required. 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).
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).