create_link
Shorten destination URLs on the configured workspace and return the short URL with its canonical link record. Optionally set a custom slug, tags, title, or domain.
Instructions
Shorten a URL on the configured workspace. Returns the short URL plus the canonical link record.
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": {
"destination_url": "<destination_url>"
},
"name": "create_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional custom slug. | |
| tags | No | ||
| title | No | ||
| domain_id | No | Domain to use. Defaults to the workspace's first verified domain. | |
| destination_url | Yes |