search_graph
Filter and paginate code graph searches by symbol name, type, file path, relationships, and connection counts.
Instructions
Search the code graph with flexible filters and pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | exact type filter (function, class, method, struct, etc.) | |
| limit | No | max results per page (default 10) | |
| query | No | case-insensitive substring match on symbol name | |
| offset | No | pagination offset (default 0) | |
| direction | No | "inbound" or "outbound" (used with relationship) | |
| max_degree | No | maximum total connections (0 = isolated/dead code) | |
| min_degree | No | minimum total connections | |
| file_pattern | No | substring match on file path | |
| relationship | No | edge type filter (CALLS, IMPORTS, CONTAINS) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||