list_files
Retrieve and filter files in a specified directory using a pattern. Ideal for organizing and managing file listings efficiently on the Edit MCP server.
Instructions
List files in a directory
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directory | Yes | Path to the directory to list files from | |
pattern | No | Pattern to filter files by (e.g., *.txt) |
Input Schema (JSON Schema)
{
"properties": {
"directory": {
"description": "Path to the directory to list files from",
"type": "string"
},
"pattern": {
"description": "Pattern to filter files by (e.g., *.txt)",
"type": "string"
}
},
"required": [
"directory"
],
"type": "object"
}