list_directory
List contents of a directory in a WSL2 Linux environment. Specify a path or use the current directory. Optionally, display detailed information using 'ls -la'.
Instructions
List contents of a directory in WSL2 Linux environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
detailed | No | Show detailed information (ls -la) (optional, defaults to false) | |
path | No | Directory path to list (optional, defaults to current directory) | . |
Input Schema (JSON Schema)
{
"properties": {
"detailed": {
"default": false,
"description": "Show detailed information (ls -la) (optional, defaults to false)",
"type": "boolean"
},
"path": {
"default": ".",
"description": "Directory path to list (optional, defaults to current directory)",
"type": "string"
}
},
"type": "object"
}