get_graph_info
Retrieve graph metadata, health, and diagnostics in one call, optionally adding scoped statistics and unresolved or ambiguous edge reports for troubleshooting.
Instructions
Return graph metadata, health, and diagnostics in one call. Always returns project root, schema version, build time, extraction modes, languages, node/edge/hyperedge/community counts, active policy gates, and the graph trust mode. Set include_stats to append scoped statistics, include_unresolved to list unresolved imports, include_resolution to append the resolution-quality report, and include_ambiguous to list ambiguous edges and label collisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_types | No | Optional file types to include in statistics, for example ['code', 'document', 'rationale']. | |
| path_prefix | No | Optional path prefix or path fragment to include in statistics (case-insensitive). | |
| exclude_path | No | Optional path prefix or path fragment to exclude from statistics (case-insensitive). | |
| include_stats | No | Append scoped statistics: node and edge counts, node-type breakdown, edge confidence distribution, and extractor provenance. Default false. | |
| ast_only_tuning | No | AST-only tuning for statistics: true enables AST-only noise suppression, false disables it, omitted = auto. | |
| include_ambiguous | No | Append the ambiguous symbol report listing low-confidence edges and cross-file label collisions. Default false. | |
| include_resolution | No | Append the resolution-quality report covering import, call, and method resolution rates plus ambiguous edge counts. Default false. | |
| include_unresolved | No | Append the list of unresolved import references (import edges whose target symbol is missing from the graph). Default false. | |
| generated_code_mode | No | Generated-like code filter for statistics: 'include' (default), 'exclude', or 'only'. |