find_files_by_extension
Search directories recursively to locate files by specific extension, including subdirectories. Specify path, extension, depth, and results limit. Ideal for finding XML, JSON, or other file types efficiently.
Instructions
Recursively find all files with a specific extension. Searches through all subdirectories from the starting path. Extension matching is case-insensitive. Returns full paths to all matching files. Requires maxDepth
(default 2) and maxResults
(default 10) parameters. Perfect for finding all XML, JSON, or other file types in a directory structure. Only searches within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
excludePatterns | No | ||
extension | Yes | File extension to search for (e.g., "xml", "json", "ts") | |
maxDepth | Yes | Maximum directory depth to search. Must be a positive integer. Handler default: 2. | |
maxResults | Yes | Maximum number of results to return. Must be a positive integer. Handler default: 10. | |
path | Yes |