axiom_graph_add_link¶
- axiom_graph.mcp.server.axiom_graph_add_link(project_root, section_id, node_id='', node_ids=None)¶
Add link(s) from a doc section to code node(s).
Loads the section’s JSON file, appends the link(s), writes the file back, and re-indexes once. When
node_idsis provided, all links are added in a single pass with one re-index – much faster than calling this tool N times.- Parameters:
- project_root str
Absolute path to the indexed project.
- section_id str
Full qualified section ID, e.g.
myproject::docs.architecture::database-layer.- node_id str
The code node ID to link to (single-link mode).
- node_ids list[str] | None
List of code node IDs to link to (batch mode). When provided,
node_idis ignored.
- Return type:
str