maltego_import_graph
Merge a .mtgx file into the active investigation graph to combine entities and links, with optional deduplication based on type and value.
Instructions
Merge a .mtgx file's contents into the ACTIVE graph (combine investigations).
Unlike maltego_load_graph (which opens a separate graph), this merges another
graph's entities and links into the current active graph, remapping ids and
de-duplicating by (type, value) when dedupe is true.
Args: params (ImportGraphInput): - path (str): Path to the .mtgx file to merge in. - dedupe (bool): Reuse matching entities instead of duplicating.
Returns: str: Counts of entities/links added and reused, or an actionable error.
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": {
"params": "<params>"
},
"name": "maltego_import_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |