search_code
Search keywords in previously read GitHub code to find existing implementations and reuse them before writing new code.
Instructions
在已读过的代码中搜索关键词。
写代码前先搜一下有没有现成的实现,有就直接复用,禁止从零编写。 只能搜到之前用 read_github_file 读过的文件。
Args: query: Search keywords repo: Optional filter by repository name top_k: Number of results (default: 5, max: 20)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| query | Yes | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |