list_dir
List files and folders in a directory, returning each item's name, type, size, and modification time, with optional pattern filtering.
Instructions
列出目录内容(最多 500 项)。返回名称/类型/大小/修改时间。
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 | . | |
| pattern | No | * |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |