Change Link Slug
set_link_slugChange the custom slug (short code) of an existing QRCodeKIT short link, for any link type — e.g. turn qrkit.co/x7Ab9c into qrkit.co/summer-sale. The link keeps its identity and analytics. Use this only when the user explicitly wants to rename the short URL; to change a destination, use the corresponding save tool instead. WARNING: warn the user that the previous short URL stops redirecting and the QR image is regenerated, so any printed or shared copies of the old QR must be replaced.
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": {
"qr_id": "<qr_id>",
"short_code": "<short_code>"
},
"name": "set_link_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qr_id | Yes | Stable QRCodeKIT identifier for the link. | |
| short_code | Yes | New slug for the short link, such as 'my-campaign-2026'. Letters, digits, dots, hyphens, and underscores only. Must be unique within the short-link domain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | QR codes visible to the active account. |