shorten_url
Create a short link for a destination URL, optionally adding a custom slug or UTM parameters, and return the short URL and link ID.
Instructions
Create one short link on linkbit.live for a destination URL. Returns the short URL and the link id. Optional UTM fields are merged into the destination without overwriting utm_* params it already has; a #fragment is kept. Fails on an invalid or unsafe URL, a slug that is taken, or when the daily create limit is reached.
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": {
"destination": "<destination>"
},
"name": "shorten_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Private note for your own reference. Not shown to visitors. | |
| slug | No | Custom slug for the short URL. A random one is used when omitted. | |
| utm_term | No | UTM term (paid keyword). Added to the destination URL. | |
| utm_medium | No | UTM medium, e.g. email. Added to the destination URL. | |
| utm_source | No | UTM source, e.g. newsletter. Added to the destination URL. | |
| destination | Yes | Full http(s) URL to redirect to. | |
| utm_content | No | UTM content (ad or link variant). Added to the destination URL. | |
| utm_campaign | No | UTM campaign name. Added to the destination URL. |