generate_qr_code
Convert text into a QR code image with customizable parameters like size, border, and colors. Ideal for quick data sharing through scannable codes.
Instructions
Generate QR code(生成二维码图片) from text and return as image with description.
Args:
text: Text content to convert to QR code
box_size: Size of each box in pixels (1-50)
border: Number of boxes for border (0-20)
fill_color: Foreground color
back_color: Background color
Input Schema
Name | Required | Description | Default |
---|---|---|---|
back_color | No | white | |
border | No | ||
box_size | No | ||
fill_color | No | black | |
text | Yes |
Input Schema (JSON Schema)
{
"properties": {
"back_color": {
"default": "white",
"title": "Back Color",
"type": "string"
},
"border": {
"default": 4,
"title": "Border",
"type": "integer"
},
"box_size": {
"default": 10,
"title": "Box Size",
"type": "integer"
},
"fill_color": {
"default": "black",
"title": "Fill Color",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
}
},
"required": [
"text"
],
"title": "generate_qr_codeArguments",
"type": "object"
}