Download a mod file
download_modDownloads a mod file from Nexus Mods to your local disk by game domain and mod ID, fetching the primary file unless a specific file ID is given.
Instructions
Download a mod file from Nexus Mods to your local disk. Requires NEXUS_MODS_API_KEY. By default downloads the primary file of the mod. Saves to the directory specified by DOWNLOAD_DIR env var, or the current working directory. Reports progress. Note: free Nexus Mods accounts have download speed caps (~2 MB/s); Premium recommended for bulk downloads.
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": {
"gameDomain": "<gameDomain>",
"modId": "<modId>"
},
"name": "download_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modId | Yes | Numeric mod ID | |
| fileId | No | Specific file ID. If omitted, the primary (main) file is used. | |
| destDir | No | Directory to save the file. Defaults to DOWNLOAD_DIR env var or current directory. | |
| gameDomain | Yes | Game domain name as used in nexusmods.com URLs, e.g. "skyrimspecialedition", "newvegas". Use search_games to resolve a game title to its domain. |