mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-20 12:55:21 +02:00
docs: Fix duplicate directory_tree tool entry in API documentation
This commit is contained in:
@@ -128,15 +128,6 @@ The server's directory access control follows this flow:
|
|||||||
- Returns detailed listing with file sizes and summary statistics
|
- Returns detailed listing with file sizes and summary statistics
|
||||||
- Shows total files, directories, and combined size
|
- Shows total files, directories, and combined size
|
||||||
|
|
||||||
- **directory_tree**
|
|
||||||
- Get a recursive tree view of files and directories as a JSON structure
|
|
||||||
- Input: `path` (string): Starting directory path
|
|
||||||
- Returns JSON structure with:
|
|
||||||
- `name`: File/directory name
|
|
||||||
- `type`: "file" or "directory"
|
|
||||||
- `children`: Array of child entries (for directories only)
|
|
||||||
- Output is formatted with 2-space indentation for readability
|
|
||||||
|
|
||||||
- **move_file**
|
- **move_file**
|
||||||
- Move or rename files and directories
|
- Move or rename files and directories
|
||||||
- Inputs:
|
- Inputs:
|
||||||
@@ -165,6 +156,7 @@ The server's directory access control follows this flow:
|
|||||||
- `children` (array): Present only for directories
|
- `children` (array): Present only for directories
|
||||||
- Empty array for empty directories
|
- Empty array for empty directories
|
||||||
- Omitted for files
|
- Omitted for files
|
||||||
|
- Output is formatted with 2-space indentation for readability
|
||||||
|
|
||||||
- **get_file_info**
|
- **get_file_info**
|
||||||
- Get detailed file/directory metadata
|
- Get detailed file/directory metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user