solve_captcha
Creates a SolveHub task for supported CAPTCHA or anti-bot challenges, waits until completion, and returns the resulting token, clearance cookie, or recognized text for authorized testing.
Instructions
Create a SolveHub task and wait until it finishes, then return the token, cookie or recognised text. Use this for a site you own or are authorized to test. Typical Turnstile fields: websiteURL and websiteKey; DataDome/Imperva/Akamai need a proxy.
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": {
"type": "<type>",
"task": "<task>"
},
"name": "solve_captcha"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Challenge fields sent as POST /v1/tasks task object, for example {websiteURL, websiteKey, action?, cdata?}. | |
| type | Yes | Challenge type. turnstile/interstitial (Cloudflare), datadome, akamai, perimeterx (HUMAN), imperva (reese84 or UT.mvc), aws_waf, alibaba (CAPTCHA 2.0), funcaptcha (Arkose), image (OCR of a base64 image). | |
| proxy | No | Optional proxy URL, for example http://user:pass@host:port. Required by most cookie-based challenges (DataDome, Imperva, Akamai, PerimeterX). | |
| idempotency_key | No | Optional key so a retried create is not billed twice. A random UUID is used when omitted. | |
| timeout_seconds | No | How long to wait for the solution. Default 120, maximum 600. |