list_directory
Retrieve detailed file listings and directory contents with metadata for any accessible path, with an option to include hidden files.
Instructions
List files and directories with metadata
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 | Relative path to directory | |
| show_hidden | No | Show hidden files |