searchCodebase
Search the entire codebase using keywords or functional descriptions to find relevant code snippets, even when the location of a feature or component is unknown.
Instructions
语义化检索整个本地代码库。当不知道某段功能、组件、路由在哪里时,调用此工具通过关键词或功能描述找出最相关的真实代码片段。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topK | No | 返回的最相关的代码片段数量,默认为 3 | |
| query | Yes | 搜索词或代码功能描述,例如 'JWT 鉴权拦截器' 或 'Button 组件' |