axiom_graph_sql¶
- axiom_graph.mcp.server.axiom_graph_sql(project_root, query, max_results=50, max_rows=None)¶
Run a read-only SQL query against the axiom-graph index for debugging.
Returns results as a formatted table. Only SELECT statements are allowed. Use this for diagnostic queries against nodes, node_history, edges, tags, node_verification, docs, and doc_sections tables.
- Parameters:
- project_root str
Absolute path to the indexed project.
- query str
A SELECT SQL statement to execute.
- max_results int
Maximum rows to return (default 50, max 500).
- max_rows int | None
- Return type:
str