Generate QR code
generate_qr_codeGenerates a QR code image (PNG) for a URL or any short text, for example a website address or Wi-Fi details.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image width and height in pixels (128-1024). | |
| text | Yes | The URL or text to encode in the QR code. |