query_graph
Run read-only Cypher to analyze multi-hop code paths, aggregations, and cross-service dependencies. Use the missed graph to detect coverage gaps.
Instructions
Read-only Cypher for multi-hop, aggregation, complexity, or cross-service analysis. Default: 200 visible rows with exact/lower-bound totals and truncation; continue safely with next_cursor. graph=missed is a file tree of flagged coverage gaps; absence is not proof of completeness. Use get_graph_schema(diagnostics=full) for properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | code graph (default) or missed coverage-gap file tree. | code |
| query | Yes | Cypher query | |
| cursor | No | Snapshot continuation; keep query/project/graph. Format, budget, and max_rows may change. | |
| format | No | tree may use local @N+suffix prefix refs; json uses direct strings. | tree |
| offset | No | Live compatibility paging; cannot be combined with cursor. | |
| project | Yes | ||
| max_rows | No | Visible rows (default 200; max 99998); 0 uses the legacy maximum. Evaluation is unchanged. | |
| max_output_tokens | No | Sizing hint; hard ceiling is 4 UTF-8 bytes/token. Rows stay whole. |