list_directory
Retrieve contents of a specified directory to manage and analyze files within the mcp-adr-analysis-server, enabling efficient architectural decision record workflows.
Instructions
List contents of a directory
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the directory to list |
Implementation Reference
- src/types/tool-arguments.ts:189-192 (schema)Input schema definition for the 'list_directory' tool arguments, specifying directoryPath and optional recursive flag.export interface ListDirectoryArgs { directoryPath: string; recursive?: boolean; }
- src/utils/server-context-generator.ts:268-269 (registration)The tool 'list_directory' is listed/registered in the server context generator's hardcoded tool list under File System Operations category.{ name: 'list_directory', description: 'List directory contents with filtering' },