Make QR code
qr_makeGenerate a QR code as PNG or SVG from a link or text, processing everything locally so nothing leaves the machine.
Instructions
Generate a QR code as PNG or SVG from a link or text. Nothing leaves the machine.
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>",
"out": "<out>"
},
"name": "qr_make"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Absolute output path ending in .png or .svg | |
| dark | No | Module color. Default #000000 | |
| size | No | PNG side length in pixels, quiet zone included. The result is exactly this wide unless it is smaller than the code itself. Default 512 | |
| text | Yes | Link or text to encode | |
| level | No | Error correction. Default M | |
| light | No | Background color. Default #ffffff | |
| margin | No | Quiet zone in modules. Default 4 |