Shorten a link
shorten_linkCreate a shortened URL with optional custom alias, branded domain, expiry, password, and title; returns the short URL, alias, and link ID.
Instructions
Create a short link on the account. Returns the short URL, alias and link id.
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": "shorten_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Destination URL, including the scheme. | |
| title | No | Meta title shown in link previews. | |
| custom | No | Readable alias instead of a generated one. | |
| domain | No | Branded domain connected to the account. | |
| expiry | No | Expiry date, ISO 8601 or "YYYY-MM-DD HH:MM:SS". | |
| password | No | Password visitors must enter before the redirect. | |
| description | No | Internal note about the link. |