audit_typography
Renders HTML to check typography using Knuth–Plass line breaking, hyphenation, and microtypography; returns diagnostics and a screenshot for CSS refinement.
Instructions
Рендерит HTML-код, применяет Justif (алгоритм Кнута-Пласса) и возвращает скриншот с аудитом верстки
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"html": "<html>"
},
"name": "audit_typography"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML-код страницы или фрагмента статьи | |
| lang | No | Язык текста для правил переноса ('ru', 'en-us' и т.д.) | ru |
| width | No | Ширина экрана для проверки в пикселях (например, 375 для мобилки, 800 для планшета) |