page_contrast
Generate a local-contrast grid from an element's image to expose hidden captcha characters, watermarks, or strokes. Each cell scores edge strength from 0 (flat) to 9 (strong edge).
Instructions
HIGH-PASS VISION: local-contrast grid of an element's image (|gray - gaussian_blur|). Makes ANYTHING blended into a background VISIBLE — captcha characters on photos, watermarks, hidden strokes. 0 = flat area, 9 = strong edge. This is the native tool born from solving GeeTest icon-click with pure math. Works on canvas / img / background-image (one fetch per challenge).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"page_id": "<page_id>",
"ref": "<ref>"
},
"name": "page_contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Ref of the element to analyze (canvas / img / background-image). | |
| grid_h | No | Grid height in cells (default 44). | |
| grid_w | No | Grid width in cells (default 100). | |
| page_id | Yes | ||
| session_id | Yes | ||
| blur_radius | No | Gaussian blur radius in px (default 4). |