search_files
Search through directories on the MCP File System to find files matching a specific pattern, with options to exclude unwanted results for precise queries. Simplify file discovery and organization.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
excludePatterns | No | Patterns to exclude | |
path | Yes | Starting directory | |
pattern | Yes | Search pattern |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"excludePatterns": {
"description": "Patterns to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"path": {
"description": "Starting directory",
"type": "string"
},
"pattern": {
"description": "Search pattern",
"type": "string"
}
},
"required": [
"path",
"pattern"
],
"type": "object"
}