entity_parse_xml
Parse Maltego Transform, GraphML, or .entity XML into normalized JSON so agents can inspect and process entity data reliably.
Instructions
Parse Transform (or ), GraphML mtg:MaltegoEntity (or ), or .entity definition XML into normalized JSON.
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": {
"xml": "<xml>"
},
"name": "entity_parse_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | XML string to parse. | |
| kind | No | Expected XML schema kind (default: auto). | |
| customDir | No | Optional custom .entity directory to resolve primaryProperty. |