目录媒体体检
probe_dirBatch-inspect a directory to identify file types by magic bytes, sizes, and modification times, extract video duration/resolution/codec and image dimensions, and summarize usage by media category.
Instructions
批量体检一个目录:逐个文件的类型(魔数嗅探)、大小、修改时间,视频给出时长/分辨率/编码,图片给出尺寸,并按图片/视频/音频/文档/压缩包汇总占用。比逐个调 get_video_info 省往返。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | 排序依据:mtime(默认,最新在前)或 size(最大在前) | |
| limit | No | 最多返回前几个文件,默认 20,上限 60 | |
| dir_path | Yes | 目录绝对路径,例如 /sdcard/DCIM/Camera | |
| recursive | No | 是否递归子目录,默认 false |