search_similar_code
Embed a query to find top-k semantically similar code chunks, returning scores and metadata such as path, kind, and line range.
Instructions
Semantic search: embed query, return top-k matching code chunks.
Each result carries score + payload (path, name, kind, line range, docstring, text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |