get_project_index
Retrieve a compressed semantic map of all exported functions, classes, interfaces, and types in a codebase. Use this to understand a large project's structure in a single API call.
Instructions
Returns a compressed semantic map of the entire project: all exported functions, classes, interfaces, and types with their signatures — no implementation bodies. Ideal for getting an overview of a large codebase in a single call (~500 tokens). Call this first when exploring an unfamiliar project.
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": "get_project_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_non_exported | No | Include non-exported symbols in addition to exports. Default: false. | |
| file_pattern | No | Glob to restrict which files to index (relative to project root), e.g. "src/**/*.ts". |