List
FileTools
Description
List files using pattern matching - fast and precise! The List tool offers a simplified interface for file search with support for wildcards such as *.txt or report_*.pdf.
Ideal for quick file searches, batch processing preparation, and automated file filtering. Find exactly the files you need without complex directory navigation.
Why This Tool Stands Out
- Pattern Matching for targeted search
- Wildcard Support (* and ?)
- File Search simplified
- Batch Operations prepared
Perfect for:
Developers who collect files for build processes; data processors who look for specific file types; system administrators who filter log files; and anyone who needs to find specific files quickly. Ideal for automation scripts.
Workflow support; time savings depend on the task
Instead of searching for files manually or using complex Explorer filters, get precise results with a single API call - immediately ready for your workflows.
JSON Parameters
- directoryPath REQUIRED (String)The path of the directory to search. Example: "C:\\Documents"
- pattern OPTIONAL (String)The search pattern with wildcards. Examples: "*.txt", "report_*.pdf", "data?.*". Default: "*" (all files)
- recursive OPTIONAL (Boolean)If true, subdirectories are searched as well. Default: false
Example Call
{
"tool": "List",
"params": {
"directoryPath": "C:\\Logs",
"pattern": "*.log",
"recursive": true
}
}
Return Values
The tool returns an array of file objects, each with the following properties:
- name (String)
The file name with extension - path (String)
The full path of the file - size (Integer)
File size in bytes - extension (String)
File extension (e.g., ".txt") - modified (String)
Last modified date in ISO format - matchCount (Integer)
Total number of files found
Example Usage
Step-by-step guide:
- Specify the directory to search
- Define a pattern with wildcards (e.g., "*.log" for all log files)
- Enable "recursive" to search in subdirectories
- The tool returns a list of all matching files with metadata
- Use the results for batch processing or analysis
Related Tools
Ready to Find Files Efficiently?
Use List for fast file searches with wildcard support. Integrate it into your automation workflows now!
Discover All FileTools