install_version
install_versionInstall a specified vanilla Minecraft version, downloading the necessary JSON, client jar, and libraries into the working directory for immediate use.
Instructions
Install a vanilla Minecraft version (e.g. "1.20.4") through the HMCL agent. Downloads the version json, client jar and libraries (via BMCLAPI/mojang mirrors) into /versions// and /libraries/ — this can take a few minutes on first run. Assets are downloaded by HMCL at first launch.
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": {
"version": "<version>"
},
"name": "install_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Minecraft version id, e.g. "1.20.4" |