{"ok":true,"data":{"tool":{"slug":"xml-formatter","name":"XML Formatter","section":"tools","category":"Developer Tools","subcategory":"Data Formatters","url":"/tools/data-formatters/xml-formatter/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Format compact XML with readable indentation and report well-formedness errors.","input_schema":{"type":"object","properties":{"xml":{"type":"string","description":"Paste a complete, well-formed XML document."},"indent":{"type":"number","description":"Enter the indent spaces used in the calculation.","minimum":0,"maximum":8},"remove_blank_text":{"type":"boolean","description":"Turn remove whitespace-only text nodes on or off."}},"required":["xml","indent"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"formatted_xml":{"type":"string","description":"Formatted XML produced by the calculation."},"valid":{"type":"string","description":"XML status produced by the calculation."},"element_count":{"type":"number","description":"Element count produced by the calculation."},"depth":{"type":"number","description":"Maximum nesting depth produced by the calculation."}},"additionalProperties":false},"examples":[{"title":"XML Formatter example","description":null,"input":{"xml":"<catalog><item id=\"1\"><name>UtilityPages</name></item></catalog>","indent":2,"remove_blank_text":true},"output":{"formatted_xml":"<catalog>\n  <item id=\"1\">\n    <name>UtilityPages</name>\n  </item>\n</catalog>","valid":"Well-formed XML","element_count":3,"depth":2}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"5bada0569376d4354a1d46de"}