{"ok":true,"data":{"tool":{"slug":"html-formatter","name":"HTML Formatter","section":"tools","category":"Developer Tools","subcategory":"Code Formatters","url":"/tools/code-formatters/html-formatter/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Format HTML markup with readable indentation and line breaks.","input_schema":{"type":"object","properties":{"html":{"type":"string","description":"Enter the html markup used by this tool."},"indent_spaces":{"type":"number","description":"Enter the indentation used by this tool.","minimum":0,"maximum":8},"preserve_text_whitespace":{"type":"boolean","description":"Enter the preserve text whitespace used by this tool."}},"required":["html","indent_spaces"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"formatted_html":{"type":"string","description":"Formatted HTML produced by the tool."},"element_count":{"type":"number","description":"Element count produced by the tool."},"line_count":{"type":"number","description":"Formatted lines produced by the tool."},"source_bytes":{"type":"number","description":"Source bytes produced by the tool."}},"additionalProperties":false},"examples":[{"title":"HTML Formatter example","description":null,"input":{"html":"<main><h1>Hello</h1><p>Readable <strong>HTML</strong>.</p></main>","indent_spaces":2,"preserve_text_whitespace":false},"output":{"formatted_html":"<main>\n  <h1>\n    Hello\n  </h1>\n  <p>\n    Readable\n    <strong>\n      HTML\n    </strong>\n    .\n  </p>\n</main>","element_count":4,"line_count":12,"source_bytes":65}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"04a8c7224ee473193bffd225"}