update_alias
Update the custom alias of an existing short link (requires supported plan).
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_alias": "<new_alias>"
},
"name": "update_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surl | Yes | The current short URL or alias | |
| new_alias | Yes | The desired new custom alias |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_url | Yes | The short URL reflecting the new alias | |
| user_message | Yes | Human-readable confirmation or error message | |
| dashboard_url | No | Link to manage this short URL in the Surli dashboard |