Development
Audit HTML or a URL for common WCAG issues and export a structured PDF report grouped by severity
Call this tool from your code in three languages.
# 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/en/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'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/accessibility-audit-report-generator| Name | Type | Required | Description |
|---|---|---|---|
| urlInput | text | No | — |
| htmlInput | textarea | No | — |
| htmlFile | fileupload required | No | — |
| targetLevel | select | No | — |
| includePmSummary | checkbox | No | — |
| reportTitle | text | No | — |
File result
{
"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)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-accessibility-audit-report-generator": {
"name": "accessibility-audit-report-generator",
"description": "Audit HTML or a URL for common WCAG issues and export a structured PDF report grouped by severity",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=accessibility-audit-report-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"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"
}
}
}Questions or issues? Contact [email protected]