Make QR code
make_qr_codeSave a QR code for a link or text as a scalable SVG file. Specify an output path or use the default qr-code.svg, then get the saved file path.
Instructions
Save a QR code for a link or any text as an SVG file (sharp at any size). Defaults to qr-code.svg in the working directory. Returns the saved path.
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": "make_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The link or text to encode. | |
| output | No | Where to save the result. Defaults to a new file next to the input. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Anything the output does not carry over from the input. | |
| summary | Yes | One line describing the result. | |
| written | Yes | Paths of the files written, in order. |