QR code
blackwood_qrcode_generateUse when you need a qr code generator for a URL, text, Wi-Fi or payment link as an SVG image. Do not use for reading or decoding an existing QR code, logos, colored codes or PNG output. Returns JSON with a QR code for your text or URL as SVG markup and an SVG data URL, with error correction level and border options, generated by the uqr library for 0.004 USDC per call. Typical response time 500 ms (p95). Category: Media.
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": "blackwood_qrcode_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecc | No | Error correction level: L 7%, M 15% (default), Q 25%, H 30% | |
| text | Yes | Text or URL to encode, e.g. https://example.com (up to 2000 characters) | |
| border | No | Quiet zone around the code, in modules (default 2) | |
| pixelSize | No | SVG units per module (default 10) | |
| response_format | No | concise (the default when omitted) keeps the JSON short: long fields such as base64 images or audio come back as separate image/audio content blocks and other long strings are cut with a marker; detailed returns the full JSON |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||