Change a link
update_linkChange a link’s destination or settings: a field left out keeps its value, a value sets it, an empty string clears it where clearing is allowed (never url). The domain, back-half and path never change after creation. clearPassword removes the password.
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": {
"id": "<id>"
},
"name": "update_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The link’s id. | |
| url | No | The destination: a public http(s) URL. | |
| 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. | |
| 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). | |
| 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. | |
| clearPassword | No | Remove the password. | |
| 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. |