List Directory
列出目录内容。
Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| path | string | 是 | 目录路径 |
Returns
- 文件名和类型
- 文件大小
- 修改时间
Examples
列出当前目录:
{"path": "."}
列出指定目录:
{"path": "/home/user/documents"}
Related Skills
read-file: 读取文件内容write-file: 写入文件