GenerateQrCodeTool

Generates a QR code image from arbitrary text using ZXing's QRCodeWriter, rendered to a square PNG (size px, clamped 100–1000, default 300) and returned base64-encoded. No permissions required; no camera or hardware involved.

Result keys: qr_image (base64 PNG, no line wrapping), format (always "png"), size.

Constructors

Link copied to clipboard
constructor()

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 parameters: List<ToolParameter>

Functions

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