search_by_file_path
Find code nodes by matching a file path pattern, retrieving files, functions, or classes across a package or directory, with optional type filtering.
Instructions
Find nodes by file path pattern (substring match).
Useful for finding all nodes in a package, module, or directory. Case-insensitive.
Args: path_pattern: Substring to match in file paths (e.g., "payroll", "com/vietbank/sme", "auth"). node_type: Optional filter by type: "file", "function", "class". Leave empty for all. limit: Max results (default 30, max 50). project: Project name.
Returns: List of matching nodes sorted by file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| project | No | ||
| node_type | No | ||
| path_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |