{"ok":true,"data":{"tool":{"slug":"typescript-formatter","name":"TypeScript Formatter","section":"tools","category":"Developer Tools","subcategory":"Code Formatters","url":"/tools/code-formatters/typescript-formatter/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Apply readable indentation and line breaks to TypeScript source.","input_schema":{"type":"object","properties":{"typescript":{"type":"string","description":"Enter typescript source for this calculation."},"indent_spaces":{"type":"number","description":"Enter indentation for this calculation.","minimum":0,"maximum":8}},"required":["typescript","indent_spaces"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"formatted_typescript":{"type":"string","description":"Formatted TypeScript calculated by the tool."},"line_count":{"type":"number","description":"Lines calculated by the tool."},"source_bytes":{"type":"number","description":"Source bytes calculated by the tool."},"formatted_bytes":{"type":"number","description":"Formatted bytes calculated by the tool."}},"additionalProperties":false},"examples":[{"title":"TypeScript Formatter worked example","description":null,"input":{"typescript":"interface Tool{name:string;live:boolean}const tool:Tool={name:\"UtilityPages\",live:true};","indent_spaces":2},"output":{"formatted_typescript":"interface Tool {\n  name:string;\n  live:boolean\n}\nconst tool:Tool= {\n  name:\"UtilityPages\",live:true\n};","line_count":7,"source_bytes":88,"formatted_bytes":102}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"8ffc2d8adb5d75304464f927"}