Map Repository
repo_mapMaps a repository into a compact JSON code map and filters results by domain, file kind, or controller route to locate relevant feature, type, or endpoint files.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "repo_map"
}
}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. |