list_mods
Scan a Minecraft instance's mods directory to list all JAR files with basic info. Filter results by name using regex to identify installed mods and diagnose modpack contents.
Instructions
扫描指定实例的 mods/ 目录,列出所有 JAR 文件及其基本信息。支持按名称过滤(filter 参数,支持正则)。
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": {
"mc_dir": "<mc_dir>",
"instance_id": "<instance_id>"
},
"name": "list_mods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| mc_dir | Yes | ||
| instance_id | Yes |