Qr generate
qr_generateGenerate a scannable ISO 18004 QR code (SVG vector and/or base64 PNG data URI) for any URL, wallet address, payment URI, or text up to 271 bytes. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for terms, then call again with payment.
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": "qr_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecc | No | Optional error correction level: L, M (default), Q, or H. | |
| size | No | Optional image size in pixels (64-1024, default 256). | |
| text | Yes | Text, URL, wallet address, or payment URI to encode. | |
| format | No | Optional output format: svg (default), png, or both. | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). |