linklee_create_link
Shorten a long URL by providing the target URL and workspace ID. Returns a custom or auto-generated short link with optional UTM parameters.
Instructions
Create a short link on Linklee. Returns the short URL and link details.
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": {
"workspaceId": "<workspaceId>",
"targetUrl": "<targetUrl>"
},
"name": "linklee_create_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | Workspace UUID | |
| targetUrl | Yes | The long URL to shorten | |
| key | No | Custom short key (auto-generated if empty) | |
| utmSource | No | UTM source | |
| utmMedium | No | UTM medium | |
| utmCampaign | No | UTM campaign | |
| comments | No | Internal notes |