solve_image_captcha
Recognizes text-based captchas from an image URL, local path, base64 data, or page element selector and returns the answer; optionally fills the result into an input field on the open page.
Instructions
Recognize a text (image) captcha through Cap.Guru (method base64) and return the text.
Image source, one of: selector: the captcha image element on the open page (a screenshot of the element is sent), image_base64: image in base64 (a data: URL is also accepted), image_path: path to a local image file (png, jpg, gif, bmp, webp up to 5 MB), image_url: image URL (downloaded without cookies; use_page_cookies=true sends the page cookies). vernet: captcha kind; 0 (default) = not sent, the service chooses. Pick the kind that matches the site: 2 General v1, 6 General v2 (try 2 or 6 for distorted text), 22 Arithmetic (the service returns the expression as it is, e.g. 27+15=, and this server calculates the result), 12 Rambler, 18 General Yandex, 20 Yandex 6 characters, 16 VKontakte, 14 SolveMedia, 13 Gibdd, 9 Ok.ru, 17 World of Tanks, 5 Microsoft Hotmail. fill_selector: if set and a page is open, the answer is typed into this input.
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": "solve_image_captcha"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vernet | No | ||
| selector | No | ||
| image_url | No | ||
| image_path | No | ||
| image_base64 | No | ||
| fill_selector | No | ||
| use_page_cookies | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |