Get Download Link (v1)
get_download_linkGenerate a direct CDN download link for Nexus Mods files. For non-premium, specify key and expires from an nxm:// link to obtain the URL.
Instructions
CDN download URLs for a file. Premium: works directly. Non-premium: pass key + expires from an nxm:// link (nxm:///mods//files/?key=...&expires=...).
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": {
"game": "<game>",
"mod_id": "<mod_id>",
"file_id": "<file_id>"
},
"name": "get_download_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Non-premium only: `key` from an nxm:// link (Mod Manager Download button on the site) | |
| game | Yes | Game domain name as in site URLs, e.g. "skyrimspecialedition", "fallout4", "stardewvalley" | |
| mod_id | Yes | Mod ID (number in the mod page URL /mods/<id>) | |
| expires | No | Non-premium only: `expires` from the same nxm:// link | |
| file_id | Yes | File ID (from get_mod_files) |