save_qr_config
Save a QR code style configuration for an existing shortlink. The generated QR encodes the urlinks.me redirect URL (https://urlinks.me/{alias}/{name} for my/ links, or https://urlinks.me/{shortlink} for yt/ and group links) — NOT the destination URL directly — so every scan is counted as a click. Personal (my/) shortlinks therefore require the user to have an alias set; use get_alias to check and create_alias to set one. Available styles: dot shapes (square, circle, rounded, classy, classy-rounded, diamond, star, heart, plus, hexagon, octagon, drop), corner styles (same set — novelty shapes fill only the inner pip), an outer frame (none/square/circle/rounded), colors, center logo or a built-in emblem (heart/star/bolt/clover/shield/moon), and a scan-me frame. Gradients are dashboard-only for now.
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": {
"shortlink": "<shortlink>"
},
"name": "save_qr_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Frame style around the QR code (default: none) | |
| bgColor | No | Background color as hex (default: #FFFDF7) | |
| ecLevel | No | Error correction level — higher = more resilient but denser. H recommended with a logo or styled shapes (default: H). | |
| fgColor | No | Foreground color as hex (default: #1A1F2E) | |
| dotShape | No | Shape of the QR code data dots (default: square). Novelty shapes (diamond/star/heart/plus/hexagon/octagon/drop) render via the shared @urlinks/qr renderer. | |
| logoSize | No | Center logo size as a percent of the QR, 20–30 (default: 25). | |
| showLogo | No | Show a logo in the center (default: false) | |
| frameText | No | Text to display in the frame (max 30 chars) | |
| shortlink | Yes | The shortlink to configure QR for (e.g., 'my/docs') | |
| centerIcon | No | Built-in center glyph rendered in the middle of the QR — a no-upload alternative to a logo. Any data shape, or an emblem (bolt/clover/shield/moon). Overrides showLogo when set. | |
| outerShape | No | Frame drawn around the whole QR (default: none). | |
| cornerStyle | No | Shape of the three corner finder markers. The outer frame stays scanner-safe; novelty shapes only fill the inner pip (default: square). | |
| dotImageUrl | No | URL of a square PNG to color the QR by — each module samples the image at its position (e.g. a flag). White/pale areas become a scannable light grey, finder eyes are forced dark, on a white background. Overrides solid color and gradient. | |
| transparent | No | Use transparent background (default: false) | |
| fgTransparent | No | Transparent dots — the data modules are cut out, for overlaying the QR on other images (default: false). | |
| useUrlinksLogo | No | When showLogo is true, use the URLinks logo as the center image (default: true). | |
| centerIconColor | No | Hex color for the center emblem (defaults to the foreground color). |