Convert XML to a canonical JSON tag/attrib/text/children object, or that shape back to XML. Rejects DOCTYPE/ENTITY declarations (XXE guard).
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
direction | string | required | xml_to_json | json_to_xml One of: xml_to_json, json_to_xml |
xml | string | optional | XML text (direction=xml_to_json) |
data | object | optional | {tag, attrib, text, children} object (direction=json_to_xml) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "xml_json_convert", "arguments": {"direction": "xml_to_json"}}}'curl -s https://wingmanprotocol.com/tools/xml_json_convert \
-H 'Content-Type: application/json' \
-d '{"direction": "xml_to_json"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/xml_json_convert from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).