map_codebase
Scan a repository to build a dependency map of files linked through imports/exports, helping you assess connections and change impact before editing.
Instructions
Scans the entire codebase and builds a dependency map showing how all files are connected through imports/exports.
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": "map_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | No | Root directory to scan. Defaults to current working directory. | |
| use_cache | No | Whether to use cache. Default true. | |
| force_rescan | No | Force full rescan even when cache exists. | |
| exclude_patterns | No | Glob patterns to exclude. | |
| include_patterns | No | Glob patterns for files to include. |