Format a local XML file
abox_xml_formatPretty-print or minify local UTF-8 XML files while preserving mixed content and xml:space, writing a verified new file. Rejects DTDs and external resources.
Instructions
Pretty-print or minify local UTF-8 XML using the existing website parser and printer. Preserves mixed content and xml:space behavior. Rejects DTDs and custom entities; no external resource resolution. Writes a new .xml file and verifies document structure and text. Formatting can change insignificant whitespace and quote spelling.
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_path": "<input_path>",
"output_path": "<output_path>"
},
"name": "abox_xml_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indent | No | 2 | |
| minify | No | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |