mtgx_add_links
Create directed links between existing entities in a .mtgx archive, validating source and target IDs to ensure connections reference valid nodes.
Instructions
Add directed links between existing entities in a .mtgx archive (validates that sourceId and targetId exist).
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": {
"path": "<path>",
"links": "<links>"
},
"name": "mtgx_add_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to existing .mtgx archive | |
| links | Yes | Non-empty array of links ({ sourceId, targetId, label?, ... }) |