create_short_link
Generate trackable short URLs with click analytics for QR codes. Add custom codes and set expiration dates to monitor link performance.
Instructions
Create a tracked short link with click analytics. Use this to add tracking to QR codes — encode the short URL as the QR content. Supports custom codes and expiration dates.
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": {
"target_url": "<target_url>"
},
"name": "create_short_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_url | Yes | The destination URL that the short link redirects to | |
| custom_code | No | Optional custom short code (3-32 alphanumeric chars). Auto-generated if omitted. | |
| expires_at | No | Optional expiration date in ISO 8601 format |