tool_qrcode
Create QR codes from any data string, configuring size, error correction, and foreground/background colors. Get the result as an image or data URI for embedding or sharing.
Instructions
[image] QRCode
Parameters:
data (string): Data
size (number): Size
errorCorrection (string): Error Correction
fgColor (string): Foreground
bgColor (string): Background
Outputs:
image (bytes): Image
dataUri (string): Data URI
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tool_qrcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Data | |
| size | No | Size | |
| image | No | Image (base64 file payload) | |
| bgColor | No | Background | |
| dataUri | No | Data URI | |
| fgColor | No | Foreground | |
| errorCorrection | No | Error Correction |