xml_to_json
Convert XML document to JSON (attributes as @attr). When: Convert XML → JSON for agents that prefer JSON tools.
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": {
"text": "<text>"
},
"name": "xml_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |