create_short_link
Shorten a destination URL via Surli and return short link and stats.
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_url": "<destination_url>"
},
"name": "create_short_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Optional custom slug/alias for the short URL | |
| title | No | Optional display title or tag for the link | |
| destination_url | Yes | The full target destination URL to shorten (e.g. https://example.com) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Current account tariff plan (e.g. limited, unlimited) | |
| used | No | Number of short links used in the current plan period | |
| limit | No | Total short link quota for the plan period (-1 = unlimited) | |
| remaining | No | Number of short links remaining (-1 = unlimited) | |
| short_url | Yes | The newly created short URL | |
| user_message | No | Human-readable status message | |
| dashboard_url | No | Link to manage this short URL in the Surli dashboard | |
| destination_url | Yes | The destination URL the short link points to |