qr_code_svg_builder
Encode text or a URL as a scannable QR code SVG
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_code_svg_builder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | Background color (hex, with or without #) | |
| fg | No | Module color (hex, with or without #) | |
| ecc | No | Error correction: L, M (default), Q or H | |
| size | No | Rendered size in px (64-2048, default 256) | |
| text | Yes | Text or URL to encode (max 1000 bytes) | |
| format | No | json (default, includes svg + data URI) or svg (raw image/svg+xml) | |
| margin | No | Quiet zone in modules (0-16, default 4) |