list_directory
View the contents of any directory in the workspace, with each entry labeled FILE or DIR to distinguish files from subdirectories.
Instructions
列出 workspace 内某个目录下的条目,每行标注 FILE 或 DIR。
Args: path: 相对于 workspace 的目录路径,默认为 workspace 根目录。
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |