search_code
Find where a string appears in the code of the repositories connected to a project, with the file, the line number and the lines around it. Only repositories whose owners opened them to agents are searched, and the answer says when what it searched was out of date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Narrow to files whose path contains this, such as 'src/' or '.ts'. | |
| repo | No | Which repository, as 'group/repo'. Omit to search every repository open here. | |
| query | Yes | What to look for, taken literally unless regexp is set. A space is a space, not two terms. | |
| regexp | No | Read query as a regular expression. One with no literal in it may not finish in time. | |
| caseSensitive | No | Match case. Off by default. |