live · Developer Tools · JSON · API for agents
Generate a static QR code file from a supplied payload. Supports URL, Wi-Fi, text, contact, event, location, app, social, and payment QR assets including VietQR and Swiss QR-bill payloads.
{
"name": "generate_qr",
"kind": "act",
"impl": "imperative",
"description": "Generate a static QR code file from a supplied payload. Supports URL, Wi-Fi, text, contact, event, location, app, social, and payment QR assets including VietQR and Swiss QR-bill payloads.",
"inputSchema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"minLength": 1,
"description": "Exact QR payload to encode, such as an HTTPS URL, WIFI payload, vCard, calendar event, payment URI, or text."
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"jpg",
"webp",
"pdf",
"eps"
],
"default": "png",
"description": "Output file format. Use svg, pdf, or eps for print workflows and png or webp for web publishing."
},
"contentType": {
"type": "string",
"enum": [
"url",
"appstore",
"social",
"text",
"wifi",
"email",
"sms",
"phone",
"whatsapp",
"vcard",
"event",
"location",
"crypto",
"pix",
"upi",
"phonepe",
"swish",
"sepa",
"ideal",
"mobilepayvipps",
"qris",
"paypal",
"venmo",
"cashapp",
"promptpay",
"vietqr",
"swissqr"
],
"description": "Optional hint describing the QR payload type. This does not change generation behavior but helps agents choose examples and validation."
},
"size": {
"type": "integer",
"minimum": 256,
"maximum": 4096,
"default": 1024,
"description": "Requested output size in pixels for raster/SVG output or points for PDF/EPS."
},
"margin": {
"type": "integer",
"minimum": 0,
"maximum": 16,
"default": 4,
"description": "Quiet-zone margin around the QR code."
},
"fgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": "#000000",
"description": "Foreground color as a six-digit hex value."
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": "#ffffff",
"description": "Background color as a six-digit hex value."
},
"errorCorrectionLevel": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"default": "H",
"description": "QR error correction level. Use H when embedding logos."
},
"logo": {
"type": "string",
"description": "Optional PNG, JPG, or WebP data URL for a centered logo. Keep source files under 1MB."
}
},
"required": [
"value"
],
"additionalProperties": false
}
}Generate a ZIP archive of up to 50 static QR code files from CSV or row objects. Use for labels, classrooms, packaging, menus, and agent batch workflows.
{
"name": "generate_bulk_qr",
"kind": "act",
"impl": "imperative",
"description": "Generate a ZIP archive of up to 50 static QR code files from CSV or row objects. Use for labels, classrooms, packaging, menus, and agent batch workflows.",
"inputSchema": {
"type": "object",
"properties": {
"rows": {
"oneOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "Exact QR payload for this file."
},
"filename": {
"type": "string",
"maxLength": 64,
"description": "Optional filename stem for this generated QR file."
}
},
"required": [
"value"
],
"additionalProperties": false
}
},
{
"type": "string",
"description": "CSV rows such as filename,value or value,filename."
}
],
"description": "Rows to include in the ZIP archive. Use up to 50 rows per request."
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"jpg",
"webp",
"pdf",
"eps"
],
"default": "svg",
"description": "Shared output format for every generated file. Prefer svg for large batches."
},
"size": {
"type": "integer",
"minimum": 256,
"maximum": 4096,
"default": 1024,
"description": "Shared QR output size."
},
"margin": {
"type": "integer",
"minimum": 0,
"maximum": 16,
"default": 4,
"description": "Shared quiet-zone margin."
},
"fgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": "#111111",
"description": "Shared foreground hex color."
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": "#ffffff",
"description": "Shared background hex color."
},
"errorCorrectionLevel": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"default": "H",
"description": "Shared QR error correction level."
}
},
"required": [
"rows"
],
"additionalProperties": false
}
}Create a static QR code from URL, text, Wi-Fi, email, SMS, phone, WhatsApp, or vCard input.
{
"name": "create_static_qr_code",
"kind": "act",
"impl": "declarative",
"description": "Create a static QR code from URL, text, Wi-Fi, email, SMS, phone, WhatsApp, or vCard input.",
"inputSchema": {
"type": "object",
"properties": {
"contentType": {
"type": "string"
},
"value": {
"type": "string"
},
"url": {
"type": "string",
"description": "example.com"
}
}
}
}