XML-JSON Converter
xml-json-converterConvert between XML and JSON formats.
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": {
"input": "<input>"
},
"name": "xml-json-converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | XML or JSON string to convert | |
| direction | No | Conversion direction | auto |
| indentSize | No | Output indent size | |
| preserveNamespaces | No | Preserve XML namespaces |