qr
QR code generator. Returns a crisp SVG for text/URL payloads up to 2,048 UTF-8 bytes that fit the selected error-correction level. Paid per call: $0.003 in USDC 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": {
"data": "<data>"
},
"name": "qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecl | No | Error correction, default M | |
| data | Yes | Payload to encode (max 2,048 UTF-8 bytes; QR capacity is lower at Q/H error correction) | |
| size | No | SVG width/height in px, default 256 |