trw_code_search
Retrieve ranked code context from locally indexed code chunks using lexical or semantic search.
Instructions
Search local indexed code chunks.
Use when an agent has run trw_code_index_update and needs ranked code
context without reading full files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | lexical | |
| path | No | ||
| query | Yes | ||
| top_k | No | ||
| repo_root | Yes |