disable_link
Disable a short link by ID to stop its redirect and send visitors an error instead of the destination; pass disabled=false to re-enable it.
Instructions
Disable a short link so it no longer redirects. Pass disabled=false to re-enable. Destructive: visitors will get an error instead of the destination.
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": "disable_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Link id (UUID) as returned by shorten_url, shorten_urls or list_links. | |
| disabled | No | Default true (disable). Pass false to re-enable the link. |