mtgx_export_graphml
Export a .mtgx archive to a standalone GraphML XML string or JSON, optionally writing it atomically to a .graphml or .json file.
Instructions
Export a .mtgx archive as a standalone GraphML XML string or JSON, optionally writing atomically to an output .graphml or .json file.
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>"
},
"name": "mtgx_export_graphml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Source .mtgx file path | |
| format | No | Export format (defaults to 'graphml', or inferred from output_path) | |
| pretty | No | Pretty-print output XML/JSON (default true) | |
| output_path | No | Optional output .graphml or .json path (within workspace) |