semantic_locate
Find code by describing what it does in plain language, ranked from a graph, when you don't know the exact name.
Instructions
Find code by a plain-language question, ranked from the graph. Call it when you know what the code does but not its name. Returns id, name, kind, file, line, signature, score. Read ranked_by. Know the exact name? Use semantic_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max ranked rows per page: entities, or files at file granularity. Default 20. | |
| query | No | Natural-language description of the code to find. Optional when paging with `cursor`. | |
| cursor | No | Opaque token from a prior result's `next_cursor`. Pass it back unedited. | |
| max_chars | No | Serialized characters this response may occupy; what was cut is named in `elisions`. | |
| granularity | No | Rank entities ('entity', default) or roll up to files ('file') | entity |
| include_tests | No | Rank test-role entities alongside source. Off unless your query is about tests. |