Validation
Detecta problemas comunes de WCAG 2.1 en HTML, paginas o imagenes de diseno y devuelve sugerencias accionables
Llama a esta herramienta desde tu código en tres lenguajes.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/accessibility-checker' \
-F 'file=@/path/to/designImage.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/es/api/tools/accessibility-checker' \
-F 'htmlInput=<img src="/hero.png"><a href="/pricing"><svg></svg></a><button><svg></svg></button><input type="email" />' \
-F 'pageUrl=https://example.com' \
-F 'designImage=/path/to/file.ext' \
-F 'wcagLevel=AA'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/accessibility-checker| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| htmlInput | textarea | No | — |
| pageUrl | text | No | — |
| designImage | filesubida requerida | No | — |
| wcagLevel | select | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-accessibility-checker": {
"name": "accessibility-checker",
"description": "Detecta problemas comunes de WCAG 2.1 en HTML, paginas o imagenes de diseno y devuelve sugerencias accionables",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=accessibility-checker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "accessibility-checker",
"arguments": {
"htmlInput": "<img src=\"/hero.png\"><a href=\"/pricing\"><svg></svg></a><button><svg></svg></button><input type=\"email\" />",
"pageUrl": "https://example.com",
"designImage": "https://example.com/file.ext",
"wcagLevel": "AA"
}
}
}¿Dudas o problemas? Contacta con [email protected]