util_qr
QR code generator (SVG) — Generate a QR code offline from any text, URL, wallet/payment address or Wi-Fi string (UTF-8 byte mode, versions 1-40, up to 2953 bytes). Params: text (required), ecc L|M|Q|H (default M), size px per module, margin (quiet zone, default 4), dark/light hex colors (light=transparent allowed), format=svg for the raw image, matrix=true for the module grid. Returns SVG markup, a base64 data URI, version, mask and capacity. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "util_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | https://api.polyform.org |