list_directory
Retrieve directory contents with file sizes and modification times without running a shell command. Specify a path, include hidden entries, and set a limit for results.
Instructions
List files, directories, and symlinks with size and modification time, without running a shell command.
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path; defaults to the workspace root. | |
| max_entries | No | Maximum returned entries. | |
| include_hidden | No | Include names beginning with a dot; defaults to false. |