file_scan
Scan a directory to get file metadata (name, size, modification time) and subdirectory list, with optional pattern filtering.
Instructions
只读扫描目录,返回文件元数据(名称/路径/大小/mtime/扩展名)与子目录列表。
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": "file_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | No | * |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |