read_directory
List files and directories within allowed roots to discover files without requiring full absolute paths from the user.
Instructions
List files and directories within allowed roots. Use this to discover files without requiring full absolute paths from the user.
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": "read_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to directory (relative to root or absolute within root) |