List a directory
list_directoryList directory entries with name, type, and size. Respects the path allowlist for secure access.
Instructions
List the entries (name, type, size) of a directory. Honours the path allowlist.
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 | Directory path (supports ~ for home). |