list_directory
Displays directory contents for any given path. Optionally shows hidden files to reveal complete folder structure.
Instructions
列出目录内容
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": {
"directoryPath": "<directoryPath>"
},
"name": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directoryPath | Yes | 要列出的目录路径 | |
| includeHidden | No | 是否包含隐藏文件(默认 false) |