chronos_query_graph
Run read-only Cypher queries against the embedded KuzuDB 4D knowledge graph to inspect code nodes, metrics, and relationships such as CALLS, CONTAINS, TESTS, and IMPORTS.
Instructions
Execute a Read-Only Cypher query directly against the embedded KuzuDB 4D Knowledge Graph. Every ChronosNode has properties: id, name, qualified_name, kind, file, start_line, end_line, start_byte, end_byte, cognitive_load, cyclomatic, fan_in, fan_out, param_count, sloc, loop_count, loop_depth, transitive_loop_depth, linear_scan_in_loop, alloc_in_loop, is_recursive, is_hydrated, exec_time_p50, exec_time_p99, invocation_count, cpu_percent, is_hot_path, is_bottleneck. Relationship tables: CALLS, CONTAINS, TESTS, IMPORTS, CO_CHANGES_WITH.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "chronos_query_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Read-only Cypher query (e.g. 'MATCH (f:ChronosNode) WHERE f.transitive_loop_depth >= 2 RETURN f.name, f.file, f.transitive_loop_depth') | |
| max_rows | No | Maximum rows to return (default: 500, ceiling: 100000) | |
| max_answer_chars | No | Optional maximum character budget for the response (default: 24000; <= 0 disables truncation) |