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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |