Solve Cloudflare Challenge (cf_clearance)
solve_cloudflare_challengeSolves Cloudflare managed challenges and returns the cf_clearance cookie with its bound user agent for replay through the required proxy.
Instructions
Solve a Cloudflare managed challenge / "Just a moment..." interstitial and return the cf_clearance cookie plus the user_agent it is bound to (~2.5 s, $1.00 per 1,000). site_key is the challenge widget id (0x...): in the browser Network tab, find the request to challenges.cloudflare.com ending in /new/normal and copy the path segment after /rch/xxxxx/. A proxy is required; replay cf_clearance through the same proxy with the returned user_agent.
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>",
"proxy": "<proxy>"
},
"name": "solve_cloudflare_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the page where the protection is loaded. | |
| proxy | Yes | Required. cf_clearance is bound to this proxy exit IP. | |
| site_key | Yes | Challenge widget id (0x...). | |
| user_agent | No | Optional override; use the UA you will replay the cookie with. | |
| accept_language | No | Optional Accept-Language override, e.g. en-US,en;q=0.9 |