Development
Проверяет HTML или URL на распространенные проблемы WCAG и экспортирует структурированный PDF-отчет
Вызовите этот инструмент из своего кода на трёх языках.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/accessibility-audit-report-generator' \
-F 'file=@/path/to/htmlFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/ru/api/tools/accessibility-audit-report-generator' \
-F 'urlInput=https://example.com' \
-F 'htmlInput=<!doctype html><html><head><title></title></head><body><img src="hero.jpg"><a href="#"></a><input type="text"></body></html>' \
-F 'htmlFile=/path/to/file.ext' \
-F 'targetLevel=AA' \
-F 'includePmSummary=true' \
-F 'reportTitle=Landing Page Accessibility Audit'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/accessibility-audit-report-generator| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| urlInput | text | Нет | — |
| htmlInput | textarea | Нет | — |
| htmlFile | fileнужна загрузка | Нет | — |
| targetLevel | select | Нет | — |
| includePmSummary | checkbox | Нет | — |
| reportTitle | text | Нет | — |
Файловый результат
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-accessibility-audit-report-generator": {
"name": "accessibility-audit-report-generator",
"description": "Проверяет HTML или URL на распространенные проблемы WCAG и экспортирует структурированный PDF-отчет",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=accessibility-audit-report-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "accessibility-audit-report-generator",
"arguments": {
"urlInput": "https://example.com",
"htmlInput": "<!doctype html><html><head><title></title></head><body><img src=\"hero.jpg\"><a href=\"#\"></a><input type=\"text\"></body></html>",
"htmlFile": "https://example.com/file.ext",
"targetLevel": "AA",
"includePmSummary": true,
"reportTitle": "Landing Page Accessibility Audit"
}
}
}Вопросы или проблемы? Свяжитесь с [email protected]