enhanced_search
Perform advanced file searches on macOS, analyze content, and manage tags. Supports regex, filename, content, and tag-based searches within specified directories and file types.
Instructions
Advanced file search with content analysis and tagging
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Search or manage tags | |
fileTypes | No | File extensions to include | |
maxResults | No | Maximum number of results | |
path | No | Root directory for search | |
query | No | Search query (supports regex) | |
searchType | No | Type of search to perform | |
tags | No | Tags to search for or apply |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Search or manage tags",
"enum": [
"search",
"tag",
"untag"
],
"type": "string"
},
"fileTypes": {
"description": "File extensions to include",
"items": {
"type": "string"
},
"type": "array"
},
"maxResults": {
"description": "Maximum number of results",
"type": "number"
},
"path": {
"description": "Root directory for search",
"type": "string"
},
"query": {
"description": "Search query (supports regex)",
"type": "string"
},
"searchType": {
"description": "Type of search to perform",
"enum": [
"content",
"filename",
"tags",
"regex"
],
"type": "string"
},
"tags": {
"description": "Tags to search for or apply",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"action"
],
"type": "object"
}