Home / Projects / NiPlex-Harness / Tools / Memory tools / graph_add_edge

Pictures

graph_add_edge

Adds a named link between two nodes.

Since 2 Sept 2026

Links a source node to a target node with a relation name.

Tool name
graph_add_edge
Group
Memory
Risk
low
Needs approval
never
Approval rule
No approval.
Allowed in scheduled jobs
No
Default
on

Parameters

NameTypeRequiredDefaultMeaningLimits
sourcestringYesNode id the link starts from.
targetstringYesNode id the link points to.
relationstringNorelatedName of the link, such as related.

Returns

A confirmation.

Example (made up for this page)

Call
{
  "target": "demo"
}
Result
Linked demo-project -> notes (related).

Side effects

  • Writes the graph JSON file.

How it can fail

WhenWhat the agent sees
A node id is missingAn error text

Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.