code_map
Find where code lives by ranking a local repository's source files by relevance to a query and summarising key symbols, without returning file bodies.
Instructions
Rank a local repo's source files by relevance to a query (tree-sitter symbol graph + PageRank) and summarise their key symbols. Read-only. Use to find where code lives; it does not return file bodies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Repository root to scan (default: current working directory) | |
| query | Yes | Natural-language or identifier query (e.g. a function/type name) | |
| max_files | No | Max ranked files to return (default 15, 1 to 100) | |
| chat_files | No | Repo-relative paths already in context; their symbols bias the ranking. Either this or query must be non-empty |