decompile_file
Decompile Java .class or .jar files into readable source code using CFR decompiler, with options to save output directly to file system or return content.
Instructions
反编译单个 .class 或 .jar 文件
Args:
file_path: 要反编译的文件路径(.class 或 .jar)
output_dir: 输出目录,默认为文件所在目录下的 decompiled 文件夹
save_to_file: 是否直接保存到文件系统(推荐),默认为 True。设为 False 时会返回反编译内容
Returns:
反编译结果信息或内容
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_dir | No | ||
| save_to_file | No |