find_large_files
Locate files exceeding a specified size within a directory on the MCP Filesystem Server. Define path, size, and preferences like recursive search, exclusions, and output format for efficient large file identification.
Instructions
Find files larger than the specified size.
Args:
path: Starting directory
min_size_mb: Minimum file size in megabytes
recursive: Whether to search subdirectories
max_results: Maximum number of results to return
exclude_patterns: Optional patterns to exclude
format: Output format ('text' or 'json')
ctx: MCP context
Returns:
Large file information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exclude_patterns | No | ||
format | No | text | |
max_results | No | ||
min_size_mb | No | ||
path | Yes | ||
recursive | No |
Input Schema (JSON Schema)
{
"properties": {
"exclude_patterns": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Exclude Patterns"
},
"format": {
"default": "text",
"title": "Format",
"type": "string"
},
"max_results": {
"default": 100,
"title": "Max Results",
"type": "integer"
},
"min_size_mb": {
"default": 100,
"title": "Min Size Mb",
"type": "number"
},
"path": {
"title": "Path",
"type": "string"
},
"recursive": {
"default": true,
"title": "Recursive",
"type": "boolean"
}
},
"required": [
"path"
],
"title": "find_large_filesArguments",
"type": "object"
}