file_stat
Retrieve detailed file or directory information including size, permissions, modification time, and type to inform filesystem management.
Instructions
Get detailed information about a file or directory, including size, permissions, modification time, and type (file/directory/symlink). / 获取文件或目录的详细信息,包括大小、权限、修改时间和类型(文件/目录/符号链接)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the file or directory to get information about. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| name | Yes | ||
| path | Yes | ||
| size | Yes | ||
| is_dir | Yes | ||
| mod_time | Yes |