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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| path | No | ||
| source | No | ||
| versionId | No |