list_files
List files in a directory using glob patterns or file type filters without scanning file contents. Quickly find files matching specific criteria for code search or project navigation.
Instructions
Quickly list files matching glob patterns or file types without scanning contents.
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_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to list files in. Accepts relative or absolute paths (default: '.') | . |
| fileType | No | File type filter | |
| noIgnore | No | Whether to list gitignored files | |
| filePattern | No | Glob pattern to filter files | |
| includeHidden | No | Include hidden files and directories | |
| excludePattern | No | Glob pattern to exclude |