translate_all_mods_in_directory
Translate every Minecraft mod jar in a directory to Simplified Chinese in batches and output a resource pack ready to load.
Instructions
批量翻译目录下所有模组 jar 包。
Args: directory: 包含模组 jar 的目录路径 glob_pattern: jar 文件匹配模式(默认 *.jar) batch_size: 每批翻译的词条数 force_retranslate: 强制重新翻译 Returns: 批量翻译汇总
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": {
"directory": "<directory>"
},
"name": "translate_all_mods_in_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | ||
| batch_size | No | ||
| glob_pattern | No | *.jar | |
| force_retranslate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |