Update a link
update_linkModify an existing shortened link's destination, alias, title, expiry, password, or note; include every optional field you want to preserve because omitted settings are replaced.
Instructions
Change a link. The API replaces the optional settings it does not receive, so pass every field you want to keep.
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. | |
| url | No | New destination URL. | |
| title | No | Meta title. | |
| custom | No | New custom alias. | |
| expiry | No | Expiry date, ISO 8601 or "YYYY-MM-DD HH:MM:SS". | |
| password | No | New password, or an empty string to remove it. | |
| description | No | Internal note. |