cos_graph_search
Locate code symbols from a natural-language description of their purpose, using semantic, lexical, and centrality matching to rank relevant functions, classes, and variables.
Instructions
Find code symbols from a NATURAL-LANGUAGE description (semantic + lexical + centrality). For a KNOWN name / path / uid, use cos_graph_query instead.
Args: query: Natural-language or code-ish query (e.g. "validate jwt token"). top_k: Number of results to return (1–50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |