search_files
Search indexed files and graph documents by keyword or path pattern to locate relevant code or knowledge quickly.
Instructions
Search indexed file names and contents for specific keywords or file path patterns. Set mode=graph to search graph-node documents through the same index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Defaults to 20, capped at 100. | |
| mode | No | Search mode. Defaults to code; graph searches indexed graph-node documents. | |
| query | Yes | The search query to match against file paths, file contents, or graph-node documents. |