List a directory
list_dirLists files and subdirectories with type, size, modification time, and permissions, skipping hidden entries unless show_hidden=true. Symlinks are reported but not followed.
Instructions
List files and subdirectories with type, size, modification time and permissions. Symlinks are reported but not followed. Hidden entries are skipped unless show_hidden=true.
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": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path. Default $HOME. | |
| max_entries | No | Default 500. | |
| show_hidden | No | Include names starting with a dot. Default false. |