Validation
Имитирует порядок чтения и озвучиваемую семантику скринридера по URL или HTML
Вызовите этот инструмент из своего кода на трёх языках.
curl -X POST 'https://api.elysiatools.com/ru/api/tools/screen-reader-simulation-tester' \
-H 'Content-Type: application/json' \
-d '{"htmlInput":"<html><head><title>Launch Promo</title></head><body><header><a href=\"/\"><img src=\"/logo.png\"></a></header><main><h1>Launch Promo</h1><h3>Early access</h3><form><input id=\"email\" type=\"email\" /><button></button></form></main></body></html>","pageUrl":"","preset":"VoiceOver","includeLandmarkSummary":true,"showFixSuggestions":true}'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/screen-reader-simulation-tester| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| htmlInput | textarea | Нет | — |
| pageUrl | text | Нет | — |
| preset | select | Нет | — |
| includeLandmarkSummary | checkbox | Нет | — |
| showFixSuggestions | checkbox | Нет | — |
Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-screen-reader-simulation-tester": {
"name": "screen-reader-simulation-tester",
"description": "Имитирует порядок чтения и озвучиваемую семантику скринридера по URL или HTML",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=screen-reader-simulation-tester",
"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": "screen-reader-simulation-tester",
"arguments": {
"htmlInput": "<html><head><title>Launch Promo</title></head><body><header><a href=\"/\"><img src=\"/logo.png\"></a></header><main><h1>Launch Promo</h1><h3>Early access</h3><form><input id=\"email\" type=\"email\" /><button></button></form></main></body></html>",
"pageUrl": "",
"preset": "VoiceOver",
"includeLandmarkSummary": true,
"showFixSuggestions": true
}
}
}HTML-результат
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Вопросы или проблемы? Свяжитесь с [email protected]