detect_captcha
Probes if a Cloudflare captcha challenge is present, returning detection flags to decide whether to call auto_solve_captcha.
Instructions
Detect whether a captcha challenge is currently shown.
Lightweight probe: returns detection flags without attempting to solve anything. Useful when you want to decide whether to call auto_solve_captcha.
Args: captcha_type: Captcha provider to probe, e.g. "cloudflare".
Returns: dict with provider-specific detection flags and the current URL. For "cloudflare" today: {turnstile: bool, interstitial: bool}. Other providers will report under their own keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| captcha_type | No | cloudflare |