get_graph
Retrieve the code graph of a repository, defaulting to a compact summary on large repos, with options for full detail and filtering by type, depth, or fields.
Instructions
Read the code graph. Defaults to a compact summary on large repos (pass full:true for everything). Narrow with type/depth/lean/fields to keep output small.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Force the entire graph even when large | |
| lean | No | Drop status/knowledge/git/span from nodes | |
| root | No | Repo root (defaults to cwd) | |
| type | No | Keep only nodes of these types (e.g. component, function) | |
| depth | No | Keep only N levels from the repo root (contains tree) | |
| fields | No | Whitelist of node fields to return | |
| summary | No | Return only counts + top-level structure + cycle count |