List Directory
list_directoryList directory contents with file type, size, and modification date for quick inspection.
Instructions
List files and folders in a directory with metadata (kind, size, modification 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 | Absolute directory path | |
| limit | No | Max items to return (default: 100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | ||
| returned | Yes |