import_graph
Bulk-create nodes and edges in one call to reconstruct a task graph from project history, mapping temporary refs to real IDs.
Instructions
Bulk-create many nodes and edges in one call. Use when reconstructing a graph from existing project history (e.g. context injected by a memory plugin such as claude-mem). Provide your own temporary ids in nodes[].ref and reference them in edges; real ids are assigned and returned as a ref->id map.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodes": "<nodes>"
},
"name": "import_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | ||
| nodes | Yes |