shorten
Convert long URLs into compact api.agishub.com/s/ links that redirect to the original address. These links remain valid for one year.
Instructions
Shorten a long URL into a compact api.agishub.com/s/ link that redirects to the original. Codes are stored for a year.
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": {
"url": "<url>"
},
"name": "shorten"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The long http/https URL to shorten. |