format_xml
Formats and prettifies XML with configurable indentation. Converts raw XML into readable structured text.
Instructions
Format and prettify XML
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": "format_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | XML string to format | |
| indent | No | Number of spaces for indentation |