get_java_versions
Reads PCL launcher config to list available Java runtime versions and paths, auto-detecting common directories if none specified.
Instructions
读取 PCL launcher 配置文件,列出所有可用的 Java 运行时版本及其路径。不传 mc_dir 时自动探测常见位置。
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": "get_java_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mc_dir | No |