Package-level declarations

Types

Link copied to clipboard
class ListPrintersTool(context: Context) : McpTool

Lists installed print service plugins (resolved from the android.printservice.PrintService intent) and the host app's own active print jobs from PrintManager.getPrintJobs. Note: this does NOT enumerate individual physical printers — discovery happens inside the system print UI.

Link copied to clipboard
class PrintContentTool(context: Context) : McpTool

Renders text or HTML content in an off-screen WebView and hands it to PrintManager.print, which opens the system print UI. Plain text is HTML-escaped and wrapped in a monospace <pre> block; pass is_html = true to print raw HTML as-is.

Link copied to clipboard
object PrintTools

Provider for the print module: ListPrintersTool and PrintContentTool.