Generate QR Code
util_qrGenerate ASCII or SVG QR codes for Nano addresses, optionally embedding an XNO amount in the payment URI for easy scanning and sharing.
Instructions
Generate an ASCII or SVG QR code for a Nano address, optionally with an amount.
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": {
"address": "<address>"
},
"name": "util_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: ascii or svg | ascii |
| address | Yes | Nano address to encode (nano_...) | |
| amountXno | No | Optional amount in XNO to embed in the QR URI |