install_mod_cf
Installs CurseForge mods into a Prism Launcher instance, matching the instance's Minecraft version and loader and resolving required dependencies; blocked files return a manual-download URL.
Instructions
Install a mod from CurseForge into an instance (latest release matching the instance's MC version/loader unless fileId is given; required dependencies are installed recursively). If the author disabled third-party distribution, the file comes back in blocked with its mod-page URL: ask the user to download it manually, then call resolve_blocked_mods. Never scrape CurseForge pages or use unofficial mirrors.
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": {
"instanceId": "<instanceId>",
"modId": "<modId>"
},
"name": "install_mod_cf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modId | Yes | ||
| fileId | No | ||
| instanceId | Yes |