Find files in OpenGrok
opengrok_find_fileLocate source files by path, file name, wildcard, or regex pattern across OpenGrok projects and return matching file paths for lookup or reading.
Instructions
Find files by path or file name. Returns file paths only. Examples: "main.cpp" (name), "*.sql" (wildcard), "src/net" (directory), "/.test..py/" (regex). Default scope: none (all projects).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | File type (analyzer name), as for opengrok_search. | |
| start | No | Offset of the first file to return (default 0); use the value a previous page suggested. | |
| projects | No | Projects to search (default: none (all projects)). Names from opengrok_list_projects. | |
| max_results | No | Files per page (default 30, max 100). | |
| all_projects | No | Search every project instead of the default. Ignored if projects is set. | |
| path_pattern | Yes | Path or name pattern. |