Download Mod File (v1)
download_fileDownload a Nexus Mods mod file to a local folder. Specify game, mod ID, and file ID; premium users get direct download, non-premium uses nxm link credentials.
Instructions
Download a mod file to a local directory (dest_dir, else NEXUS_DOWNLOAD_DIR). Premium: direct. Non-premium: pass key + expires from an nxm:// link.
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": "download_file"
}
}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) | |
| dest_dir | No | Absolute target directory (created if missing) |