list_directory
Retrieve detailed contents of a directory, including subdirectories if specified, to manage and organize files efficiently within VS Code via the Code MCP Server.
Instructions
List contents of a directory with details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | Path to the directory | |
recursive | No | List recursively |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"description": "Path to the directory",
"type": "string"
},
"recursive": {
"description": "List recursively",
"type": "boolean"
}
},
"required": [
"path"
],
"type": "object"
}