Convert a message between XML and JSON
askiso_convertConvert ISO 20022 messages between XML and JSON while preserving element order to keep documents schema-valid.
Instructions
Convert an ISO 20022 message from XML to JSON or back. Element order is preserved in both directions, which matters because ISO 20022 schemas are ordered sequences and a reordered document is invalid.
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": {
"content": "<content>"
},
"name": "askiso_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target format: "json" or "xml". Inferred from the content when omitted. | |
| content | Yes | The message, as XML or as JSON. |