update_link
Modify existing short links by updating target URLs, adjusting status, or setting expiration dates. Disable links to stop redirects while preserving QR codes.
Instructions
Update a short link — change target URL, status, or expiration. Set status to "disabled" to deactivate without deleting. The QR code continues to work but redirects will stop.
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": {
"link_id": "<link_id>"
},
"name": "update_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | The short link ID or code to update | |
| target_url | No | New target URL | |
| status | No | Link status | |
| expires_at | No | Expiration date (ISO 8601) or null to remove expiry | |
| folder_id | No | Folder ID or null to remove from folder |