read_dir
Lists files in a directory with detailed information. Can access directories outside the project root when user explicitly approves.
Instructions
Liệt kê danh sách file trong thư mục với thông tin chi tiết.
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": "read_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirPath | No | Directory path | . |
| allow_external_access | No | Set to true to allow reading directories outside the project root. User must explicitly approve this action. |