list_directory
List files and directories at a specified path to explore project structure and manage file system organization.
Instructions
Lists files and directories at the specified path within the project.
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 |
|---|---|---|---|
| dirpath | No | The path to the directory to list (can be absolute or relative to project root). | |
| recursive | No | Whether to list files recursively. |