List directory
list_directoryList the contents of a single directory and show the active policy on the first line to inspect folder rules before reading or writing.
Instructions
List one directory; the first line is the policy in force. Sizes: list_directory_with_sizes; deeper levels: directory_tree.
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 |