search_files
Find files and folders by name: case-insensitive substring of the name, or a glob on the whole name when query has * or ? (e.g. *.js, report-??.pdf), searched under path (default the work session workspace, or ~ without a session). Returns a JSON array of full paths (maxResults, default 100). Stops after 8 seconds; on macOS a folder too large to scan in time is answered from the Spotlight index, elsewhere with the results found so far and scanComplete false, so give the most specific folder you can.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| query | Yes | ||
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| maxResults | No | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |