generate_qr
Create QR codes from text or URLs, receiving output as base64 PNG or SVG. Encode any text or link into a QR code for scanning.
Instructions
Generate a QR code from text or URL (returns base64 PNG or 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": "generate_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image size in pixels | |
| text | Yes | Text or URL to encode | |
| format | No | Output format | base64 |