find_files
Search your Mac for files and folders by name using Spotlight. Specify a query, optional folder, and result limit to narrow your search.
Instructions
Search the Mac for files and folders by name (Spotlight).
Args:
query: Part of the file name, e.g. "ECE 150", "resume", "lab 2".
limit: How many results (default 10).
folder: Optional folder to search inside, e.g. "~/Documents".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "find_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| folder | No |