Create a link
create_linkMake a short link. Only url is required: the domain defaults to the organisation’s own verified domain, else the shared default, and the back-half is generated unless slug is given. Answers the new link’s id and short URL. A field the form does not know is refused, never ignored.
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": "create_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The destination: a public http(s) URL. | |
| path | No | A path in front of the back-half (a plan feature). | |
| slug | No | A chosen back-half (letters, digits, - and _); blank for a generated one. | |
| tags | No | Tags as "kind:name" tokens (kinds: PERSON, TEAM, CAMPAIGN, CHANNEL, PRODUCT, REGION, CUSTOM); a bare name is CUSTOM. At most 10. | |
| title | No | The link’s name, shown above the back-half and found by the list’s search. | |
| domain | No | One of list_domains; blank for the default. | |
| liveOn | No | When it starts answering: an ISO 8601 instant; blank or now makes it live at once. Fixed once live. | |
| masked | No | Masked link: show the destination in a frame under the short link’s address instead of redirecting (a plan feature; own domains only; the destination must be https and allow framing). | |
| expires | No | When the link stops answering: an ISO 8601 instant (UTC). | |
| ogImage | No | The preview image, an https URL. | |
| ogTitle | No | The preview title a chat or social app shows (a plan feature). | |
| generate | No | How to draw a generated back-half, where the domain allows a choice. | |
| password | No | Protect the link with a password (a plan feature). | |
| utm_term | No | UTM term. | |
| maxClicks | No | A click limit; the link expires once it is reached. | |
| utm_medium | No | UTM medium. | |
| utm_source | No | UTM source added to the destination. | |
| utm_content | No | UTM content. | |
| utm_campaign | No | UTM campaign. | |
| ogDescription | No | The preview description. | |
| idempotency_key | No | Any unique value of yours (a UUID): a retry with the same value and the same arguments within 24 hours answers the first call’s result again instead of making a second link or change. The same value with other arguments is refused. | |
| trackConversions | No | Carry the click id to the destination for event reports (a plan feature). |