{"ok":true,"result":{"slug":"css-minifier","name":"CSS Minifier","summary":"Minify CSS with csso (optionally merging and reordering rules) or pretty-print it. Syntax problems the parser recovered from are returned as warnings.","description":"Minify CSS to shrink stylesheets, merging duplicate rules and shortening colours, or beautify it for reading. See the size before and after and the percentage saved.","method":"POST","endpoint":"/api/v1/tools/css-minifier","plan":"free","mcpName":"css_minifier","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"The CSS.","maxLength":200000},"mode":{"type":"string","description":"minify or format (pretty-print).","default":"minify","enum":["minify","format"],"maxLength":200000},"restructure":{"type":"boolean","description":"When minifying, merge and reorder rules for smaller output.","default":true},"keepImportantComments":{"type":"boolean","description":"When minifying, keep /*! important comments */ such as licence headers.","default":true},"indent":{"type":"integer","description":"Spaces per indent level when formatting.","default":2,"minimum":1,"maximum":8},"blankLineBetweenRules":{"type":"boolean","description":"When formatting, put a blank line between rules.","default":true}},"required":["input"]},"example":{"input":"/* Buttons */\n.btn {\n  color: #ffffff;\n  margin: 0px 0px 0px 0px;\n}\n.btn { padding: 4px; }"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/css-minifier","page":"https://pithlab.com/tools/css-minifier"}}