{"ok":true,"data":{"tool":{"slug":"python-formatter","name":"Python Formatter","section":"tools","category":"Developer Tools","subcategory":"Code Formatters","url":"/tools/code-formatters/python-formatter/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Python Formatter with transparent inputs and reviewable results.","input_schema":{"type":"object","properties":{"source":{"type":"string","description":"Enter python source."},"indent_size":{"type":"number","description":"Enter indent size."}},"required":["source","indent_size"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"formatted":{"type":"string","description":"Formatted Python produced by the tool."},"line_count":{"type":"number","description":"Lines produced by the tool."},"diagnostics":{"type":"array","description":"Indentation diagnostics produced by the tool."}},"additionalProperties":false},"examples":[{"title":"Python Formatter worked example","description":null,"input":{"source":"def total(a,b):\n return a+b\n\nprint(total(2,3))","indent_size":4},"output":{"formatted":"def total(a,b):\n return a+b\n\nprint(total(2,3))","line_count":4,"diagnostics":[{"line":2,"issue":"Indent is not a multiple of selected size"}]}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"ef1f7cc4ca3dae19bda79aef"}