graph_add_node
Adds a node to the memory graph.
The graph is a JSON file of nodes and links. Use it for simple relations between ideas.
- Tool name
- graph_add_node
- Group
- Memory
- Risk
- low
- Needs approval
- never
- Approval rule
- No approval.
- Allowed in scheduled jobs
- No
- Default
- on
Parameters
| Name | Type | Required | Default | Meaning | Limits |
|---|---|---|---|---|---|
| node_id | string | Yes | Identifier of a graph node. | ||
| label | string | Yes | Human-readable name of the node. | ||
| node_type | string | No | note | Kind of node, such as note or skill. |
Returns
A confirmation.
Example (made up for this page)
{
"node_id": "demo",
"label": "demo"
}Added node demo-project.Side effects
- Writes the graph JSON file.
How it can fail
| When | What the agent sees |
|---|---|
| The id or label is empty | An error text |
See also:Memory tools
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.