memory_edge_add
Add typed graph edges to link a source node to another node or a GitHub issue, using relations depends_on, relates_to, supersedes, derived_from, tracks. Specify one target: node ID or GitHub reference.
Instructions
Add a typed graph edge from a source node to another node or a GitHub issue. Relations: depends_on (task DAG), relates_to (mind-map link), supersedes, derived_from, tracks (issue <- task). Give exactly ONE target: a target_node_id (with an optional target_repo_id for a cross-repo edge) or a full github ref (owner + repo + number).
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": {
"source_node_id": "<source_node_id>",
"relation": "<relation>"
},
"name": "memory_edge_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation | Yes | ||
| github_repo | No | ||
| github_owner | No | ||
| github_number | No | ||
| source_node_id | Yes | ||
| target_node_id | No | ||
| target_repo_id | No |