QR code ($0.002)
weblens_qrConvert text, URLs, Wi-Fi strings, or payment links into QR codes as SVG markup or base64 PNG for embedding in apps and documents.
Instructions
Turn any text, URL, Wi-Fi string or payment link into a QR code, returned as SVG markup or a base64 PNG. Costs $0.002 USDC.
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": "weblens_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecc | No | Error correction level (default M) | |
| size | No | Width in pixels (default 512) | |
| text | Yes | Text or URL to encode | |
| format | No | Output format (default svg) |