Solve Cloudflare Turnstile
solve_turnstileSolves a Cloudflare Turnstile widget and returns a single-use token for submitting as the cf-turnstile-response field. Provide the page URL and site key; tokens expire after about 300 seconds.
Instructions
Solve a Cloudflare Turnstile widget and return a token (~250 ms, $0.80 per 1,000). site_key is the data-sitekey attribute (starts with 0x4AAAA...) of the .cf-turnstile element, or the sitekey passed to turnstile.render(). Submit the returned token as the cf-turnstile-response form field (or wherever the site sends it). Tokens are single-use and expire after ~300 s. No proxy needed.
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": {
"url": "<url>",
"site_key": "<site_key>"
},
"name": "solve_turnstile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the page where the protection is loaded. | |
| cdata | No | Only if the widget sets data-cdata. Must match exactly. | |
| proxy | No | Optional. Turnstile is solved proxyless by default. | |
| action | No | Only if the widget sets data-action. Must match exactly. | |
| site_key | Yes | Turnstile data-sitekey, e.g. 0x4AAAAAAA... | |
| user_agent | No | Optional User-Agent to solve with. |