list_directory
Lists files and folders in a specified directory with file sizes, enabling quick inspection of local filesystem contents.
Instructions
Lists files and directories at the specified path with file sizes.
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 |
|---|---|---|---|
| source | No | ||
| directory_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |