create_shortlink
Create a new shortlink. The shortlink path must start with 'my/' (personal) or 'yt/' (YouTube globals). Once created, my/ shortlinks resolve publicly at https://urlinks.me/{alias}/{name} (assuming the user has set an alias via create_alias) — that's the URL QR codes encode for click tracking. Group shortlinks (e.g. work/foo) aren't supported through the API yet; use the web dashboard for those.
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": {
"shortlink": "<shortlink>",
"url": "<url>"
},
"name": "create_shortlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The destination URL the shortlink should redirect to | |
| shortlink | Yes | The short path. Must start with 'my/' (personal) or 'yt/' (YouTube). Examples: 'my/docs', 'my/standup', 'yt/never-gonna-give'. | |
| description | No | Optional human-readable description of what this link is for |