qr_code
Generate a QR code PNG for a text or URL. Returns base64 PNG (image/png).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | image size in px, 64-1000 (default 300) | |
| text | Yes | text or URL to encode |