Get Link Info
get_link_infoRetrieve metadata and status of a specific short link by its short code or full short URL (compatible with get_url_info). Returns original URL, webpage title, click count, tags, password status, and creation/expiration time.
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": {
"code": "<code>"
},
"name": "get_link_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Short code or full short URL (e.g., shgBe2 or https://s.gooo.name/shgBe2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Webpage title | |
| clicks | No | Total click count | |
| link_id | Yes | Short code identifier | |
| is_custom | No | Whether custom code | |
| is_public | No | Whether visible on public profile | |
| short_url | Yes | Full short URL | |
| created_at | No | Creation timestamp (ISO 8601) | |
| short_code | No | Short code | |
| has_password | No | Whether password-protected | |
| original_url | Yes | Original destination URL |