Create a short link
create_short_linkCreates a short link for an upload from search_uploads using the destination's link shortener, or returns the existing one. Fails if no link shortener is configured.
Instructions
Make a short link for an upload from search_uploads with its destination's link shortener, or return the one it already has. Returns the short link and the upload, whose formats then use it. Fails if the destination has no link shortener set up.
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": "create_short_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The upload's ID from search_uploads. |