update_link
Modify an existing short link's destination, slug, note, UTM fields, or disabled flag; only provided fields are changed.
Instructions
Change an existing link: its destination, slug, note, UTM fields or the disabled flag. Only the fields you pass are changed. Changing the slug changes the short URL, so old copies of it stop working.
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 | Link id (UUID) as returned by shorten_url, shorten_urls or list_links. | |
| note | No | New private note. | |
| slug | No | New slug. The short URL changes with it. | |
| disabled | No | true stops the redirect, false turns it back on. | |
| utm_term | No | UTM term (paid keyword). Added to the destination URL. | |
| utm_medium | No | UTM medium, e.g. email. Added to the destination URL. | |
| utm_source | No | UTM source, e.g. newsletter. Added to the destination URL. | |
| destination | No | New destination URL. | |
| utm_content | No | UTM content (ad or link variant). Added to the destination URL. | |
| utm_campaign | No | UTM campaign name. Added to the destination URL. |