Retrieve JevTrace context
retrieve_dependency_contextRetrieves JavaScript/TypeScript code for a plain-language task, returning implementing functions, callers, callees, types, and tests within a token budget.
Instructions
Use first when a JS/TS task needs code you have not located yet ("where is X handled", "change how Y works"): give the task in plain words and get the implementing functions plus the callers, callees, types and tests the TypeScript compiler links to them, within a token budget. Cheaper than searching and reading files one by one. Do not pass a file or line; describe the task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The coding task, including the intended change or bug | |
| maxChars | No | ||
| maxFiles | No | ||
| maxLeads | No | ||
| scopeCheck | No | Project-wide tasks ("find bugs", "review the codebase", "scaffold the project") get a repository map instead of code; set false to retrieve for the exact wording anyway | |
| maxJevFiles | No | ||
| tokenBudget | No | ||
| reverseFanIn | No | ||
| maxCandidates | No | ||
| contextRanking | No | jev | |
| maxRelevantFiles | No | ||
| perLeadNodeLimit | No | ||
| lexicalMergeLimit | No | ||
| perLeadTokenBudget | No | ||
| includeLexicalParallel | No | ||
| maxRelevantDirectories | No | ||
| neighborhoodTokenBudget | No |