Create short link
create_short_linkUse this when the signed-in user wants a shorter, trackable web address for a link, with or without a QR code. Creates a QRStuff short link that redirects to the given URL and counts clicks. It is live and public immediately. Optional custom ending (slug); custom endings depend on the account. For a QR code of the short link, call generate_short_link_qrcode afterwards. Do not use it for a QR code that should open a URL directly (use generate_qr_code).
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": {
"url": "<url>"
},
"name": "create_short_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full web address to send people to, starting with https:// or http://. | |
| slug | No | Optional custom ending, letters, numbers and hyphens, for example spring-sale. Leave empty for an automatic one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||