list_directory
List all files and subdirectories in a directory with details like size and modification time. Use to explore project structure and locate specific files.
Instructions
LIST AND EXPLORE directory contents. Shows all files and subdirectories with detailed information. Primary tool for directory exploration. Use for seeing what files are in a directory, exploring project structure. Keywords: list, ls, dir, show files, browse. / 列出和探索目录内容。显示所有文件和子目录的详细信息。这是目录探索的主要工具。关键词:列出、显示文件、浏览。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The directory path to list. Use '.' for current directory, '..' for parent directory, or specify any directory path. Examples: '.' (current directory), 'src/' (source directory), '/home/user/projects' (absolute path), '..' (parent directory). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes |