Save Short Link
save_short_linkCreate a branded short link and dynamic QR code for an existing website URL, with an optional custom slug (e.g. qrkit.co/summer-sale). Use this when the user already has a destination URL and wants to shorten or brand it, track visits, or get a QR code for it: every link includes a scannable QR code that opens the same destination, and clicks and scans are tracked together in one analytics dashboard. When qr_id is provided, change the destination while preserving the existing short URL and printed QR code. Use set_link_slug instead when the user wants to rename the slug of an existing link.
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": {
"title": "<title>",
"destination_url": "<destination_url>"
},
"name": "save_short_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qr_id | No | Optional QRCodeKIT identifier for updating an existing link instead of creating one. | |
| title | Yes | Display title for the link. | |
| short_code | No | Optional custom slug for the new short link, such as 'summer-sale' — the branded part of the short URL (qrkit.co/summer-sale). Letters, digits, dots, hyphens, and underscores only; must be unique within the domain. Only valid when creating; use set_link_slug to rename an existing link. | |
| destination_url | Yes | Destination URL the short link and QR code redirect to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | QR codes visible to the active account. |