inputSchema
{
"type": "object",
"required": [
"html"
],
"properties": {
"css": {
"type": "string",
"description": "Optional CSS content to analyze"
},
"html": {
"type": "string",
"description": "HTML content to analyze"
},
"format": {
"enum": [
"summary",
"detailed"
],
"type": "string",
"default": "summary"
}
}
}
outputSchema
{
"type": "object",
"required": [
"score",
"violations",
"passed",
"total"
],
"properties": {
"score": {
"type": "number",
"description": "Overall quality score 0-100"
},
"total": {
"type": "integer"
},
"passed": {
"type": "integer"
},
"warnings": {
"type": "array"
},
"categories": {
"type": "object",
"properties": {
"visual": {
"type": "number"
},
"semantics": {
"type": "number"
},
"consistency": {
"type": "number"
},
"accessibility": {
"type": "number"
}
}
},
"violations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": "string"
},
"message": {
"type": "string"
},
"category": {
"type": "string"
},
"severity": {
"enum": [
"critical",
"warning",
"info"
],
"type": "string"
}
}
}
}
}
}