list_dir
Lists directory entry names within an allowed path, without reading file contents, so you can inspect folder structure and choose files to access.
Instructions
List names in an allowed directory. Does not read file contents.
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_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory. Defaults to the root. | |
| limit | No | Max entries. |