install_modpack
install_modpackInstall a modpack as a Minecraft game instance from a local .mrpack/.zip file or by downloading from Modrinth/CurseForge using its pack ID. Set a custom instance name or let it default to the pack name.
Instructions
Install a modpack as a game instance under /versions/. Either pass path to a local .mrpack/.zip file, or id (plus optional versionId) to download it first via HMCL; name is the instance name (defaults to the pack name). Requires the HMCL agent — it is started automatically if possible.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "install_modpack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| path | No | ||
| source | No | ||
| versionId | No |