axiom_graph_diff¶
- axiom_graph.mcp.server.axiom_graph_diff(project_root, node_id='', baseline_sha=None, node_ids=None, summary_only=False)¶
Show what changed in a node since a baseline commit.
When
summary_onlyisFalse(default), returns JSON with keys:node_id,baseline_sha,baseline_date,old_content,new_content,summary.When
summary_onlyisTrue, omitsold_contentandnew_content, addslines_addedandlines_removedintegers. Use for triage before deep-diving into individual nodes.- Parameters:
- project_root str
Absolute path to the indexed project.
- node_id str
The node to diff.
- baseline_sha str | None
Optional git SHA to diff against.
- node_ids list[str] | None
Optional list of node IDs for batch operation. When provided,
node_idis ignored.- summary_only bool
Return only metadata and line-count stats.
- Return type:
str