Check document language
accessibility_document-language-checkRead-onlyIdempotent
Read the lang attribute on the html element. The page text is not compared with that value, and a fragment without html is not marked as a failure. Price $0.02 USDC. POST /api/v1/accessibility/document-language-check. An unpaid call returns the x402 payment terms and does not run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "accessibility_document-language-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | url, string, length 8 to 2000. Optional. | |
| html | No | html, string, length 1 to 200000. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | url. String. | |
| issues | No | issues. Array. | |
| source | No | source. String. | |
| status | No | status. String. | |
| language | No | language. String. | |
| warnings | No | warnings. Array. | |
| checkedAt | No | checkedAt. String. | |
| limitations | No | limitations. Array. | |
| languageStatus | No | languageStatus. String. | |
| wcagCompliance | No | wcagCompliance. Boolean. |