Query
queryQuery a code knowledge graph to find relationships, search code symbols, and analyze the impact of changes. Use actions like impact, diff, and search to get targeted context for code reviews.
Instructions
Query the code knowledge graph for relationships, search, and impact analysis. Actions: query (pattern, target), search (search_query), impact (changed_files|base), large_functions (min_lines), spot_check (n -- random callsite snippets from last callers_of/callees_of/inheritors_of/importers_of result), renamed_in_diff (base -- symbols whose callsite line shifted vs base ref), diff (from_sha, to_sha -- nodes added/removed/modified between two commit SHAs). Use help tool for full docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| base | No | HEAD~1 | |
| kind | No | ||
| repo | No | ||
| as_of | No | ||
| limit | No | ||
| action | Yes | ||
| target | No | ||
| to_sha | No | ||
| pattern | No | ||
| from_sha | No | ||
| languages | No | ||
| max_depth | No | ||
| min_lines | No | ||
| repo_root | No | ||
| max_results | No | ||
| search_query | No | ||
| changed_files | No | ||
| context_lines | No | ||
| file_path_pattern | No | ||
| max_payload_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||