Map Repository
repo_mapMap a repository into a compact JSON code map, filtered by domain, file kind, or route. Locate feature files, controllers, services, components, and tests without changing the repo.
Instructions
Map a repository into a compact JSON code map, optionally narrowed by domain, file kind, or controller route. Pass domain to find files for a feature, kind to find files of a type (route, controller, service, apiClient, component, test), or route to match Nest controller routes by substring/regex. Replaces the old find_domain, find_file_kind, find_backend_route, and find_frontend_api_client tools. Uses a per-user external cache and leaves the target repository unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional file kind filter such as route, controller, service, apiClient, component, test. | |
| path | No | Repository path. Defaults to current working directory. | |
| limit | No | Maximum files to include. Defaults to 100. | |
| route | No | Optional route filter. Substring or regex matched against each controller's combined route (controllerBasePath + httpMethods paths) and file path. | |
| domain | No | Optional domain filter such as booking, payment, email, events. | |
| includeFiles | No | Include matching files in the response. Defaults to false. |