caelara_media_qr_code_svg_builder
Encodes text or a URL into a scannable QR code SVG with configurable size, colors, margin and error correction, returning raw SVG or JSON with a data URI.
Instructions
[Dynamic Media] Encode text or a URL as a scannable QR code SVG Measured p50 12 ms, p95 42 ms (2026-11-21, benchmarks.caelaralabs.com). Calls https://media.caelaralabs.com.
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": "caelara_media_qr_code_svg_builder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | Background color (hex, with or without #) | |
| fg | No | Module color (hex, with or without #) | |
| ecc | No | Error correction: L, M (default), Q or H | |
| size | No | Rendered size in px (64-2048, default 256) | |
| text | Yes | Text or URL to encode (max 1000 bytes) | |
| format | No | json (default, includes svg + data URI) or svg (raw image/svg+xml) | |
| margin | No | Quiet zone in modules (0-16, default 4) |