List directory with sizes
list_directory_with_sizesList directory contents with file sizes, sorted by name or size, to identify large files or organize folders.
Instructions
List a directory with file sizes, sorted by name or size. Without sizes: list_directory.
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_with_sizes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sortBy | No |