qr_generate
Generate a PNG QR code for any content, returning its file path, and optionally include terminal-ready block art for easy sharing or scanning.
Instructions
Generate a PNG QR code for arbitrary content and return qr_code_path. Optionally includes a terminal-friendly block QR string.
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_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Content to encode (address, invoice, URI, or other QR payload). | |
| filename | No | Optional PNG filename; defaults to qr_<sha256[:16]>.png. | |
| terminal | No | Also return terminal_qr block art. | |
| output_dir | No | Optional directory for the PNG; defaults to ~/.aqua/qr. |