list_directory
Retrieve a directory's contents with essential metadata: file size, folder status, and last modified date.
Instructions
List all items inside a directory with metadata (size, isDirectory, modified date).
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 | Path to the directory to list |