QR Code (SVG)
qrGenerate a QR code as standalone SVG. POST { text, ecLevel?: 'L'|'M'|'Q'|'H', margin?: 0-8, dark?, light? } (text max 2KB). Price: $0.005/call with credits key; free demo without (2KB input cap).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dark | No | hex color | |
| text | Yes | ||
| light | No | hex color | |
| margin | No | ||
| ecLevel | No | M |