Style a link’s QR code
set_qr_styleSet a link’s QR code colours, module shape, margin and logo (the organisation’s uploaded logo; it is uploaded in the console), checked for contrast; or plain: true for the plain code again. Styled codes are a plan feature.
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": {
"id": "<id>"
},
"name": "set_qr_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | The ground’s colour, #rrggbb; #ffffff when left out. | |
| fg | No | The code’s colour, #rrggbb; #000000 when left out. | |
| id | Yes | The link’s id. | |
| logo | No | The organisation’s logo in the middle. | |
| plain | No | True: back to the plain code (the rest is ignored). | |
| shape | No | The module shape; needed unless plain. | |
| margin | No | The quiet zone in modules; 4 when left out. | |
| logoSize | No | With logo: how big it is drawn; LARGE (as big as still scans reliably) when left out. | |
| transparent | No | No ground colour. |