maltego_save_graph
Export an active or named Maltego graph to a .mtgx file for opening in Maltego CE. Specify a destination path or use the original graph path.
Instructions
Save a graph to a Maltego .mtgx file that opens in Maltego CE.
Writes the active graph (or the named graph) as a .mtgx archive. If no path is supplied, re-saves to the path the graph was opened from. Open the resulting file in Maltego CE via File > Open, or refresh it if already open.
Args: params (SaveGraphInput): - path (Optional[str]): Destination .mtgx path. Defaults to the graph's original source path. - graph_name (Optional[str]): Graph to save; defaults to active graph.
Returns: str: The absolute path written, or an actionable error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |