list_modpacks
list_modpacksScan the HMCL versions directory for modpack.json files to list installed modpacks, returning name, path, format, game version, and mod loader details.
Instructions
List installed modpacks by scanning /versions/*/modpack.json (HMCL ModpackConfiguration). Returns [{name, path, format, gameVersion?, modLoader?}] where format maps Modrinth→mrpack, CurseForge→curseforge, HMCL→hmcl; gameVersion/modLoader are best-effort reads from the pack manifest. name is the instance id — pass it as version to launch_game.
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": "list_modpacks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||