list-directory
List directory contents with detailed file information and optional filter patterns to quickly find specific files.
Instructions
List contents of a directory with detailed information
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "list-directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to list | |
| detailed | No | Show detailed information (like ls -la) | |
| filter | No | Optional file filter pattern (e.g., "*.txt", "*.ps1") |