expand_link
Expand a shortened ref:// link token from search results into its original full URL, enabling you to view or cite the actual link.
Instructions
Expand a shortened ref:// link token from search results back into the full URL. Search results replace very long URLs with short ref:// tokens to save space. fetch_content accepts those tokens directly, so only call this when you need the real URL, for example to show or cite a link to the user. Never present a ref:// token to the user as if it were a URL.
Args: token: A ref:// token exactly as it appeared in search results (the bare id is also accepted).
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": {
"token": "<token>"
},
"name": "expand_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |