get_directory_listing
Retrieve detailed directory listings with optional recursive depth and hidden-file visibility, enabling structured inspection of file systems across local and remote machines.
Instructions
List contents of a directory with detailed information
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_directory_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path to list (default: current directory) | . |
| max_depth | No | Maximum depth for recursive listing (default: 3) | |
| recursive | No | List recursively (default: false) | |
| show_hidden | No | Show hidden files (default: false) |