ページのコントラスト検査
contrast_scanScans rendered text colors against backgrounds, flags WCAG AA/AAA contrast failures by font size, and separates text over images or gradients for manual review.
Instructions
ページ内の表示されているテキストの文字色と背景色を調べ、文字サイズに応じた基準でコントラスト不足の箇所を一覧にする。背景画像やグラデーションの上の文字は「要目視確認」として分ける
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": "contrast_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 検査する URL。省略すると現在開いているページを検査 | |
| level | No | AA | |
| selector | No | 検査範囲を絞る CSS セレクタ |