update_destination
Update the target destination URL of an existing short link.
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": {
"surl": "<surl>",
"new_destination_url": "<new_destination_url>"
},
"name": "update_destination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surl | Yes | The short URL or alias to update | |
| new_destination_url | Yes | The new destination URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_url | Yes | The short URL that was updated | |
| user_message | No | Human-readable confirmation message | |
| dashboard_url | No | Link to manage this short URL in the Surli dashboard | |
| destination_url | Yes | The newly set destination URL |