solve_captcha
Solve CAPTCHAs like Turnstile, reCAPTCHA, and hCaptcha using the CapSolver API. Optionally inject the solved token into a specified form field.
Instructions
Solve a CAPTCHA via CapSolver HTTP API.
kind: turnstile | recaptcha_v2 | recaptcha_v3 | hcaptcha
Needs CAPSOLVER_KEY env var (or pass api_key). Returns solved token.
If inject_selector given, also injects token into that form field
(e.g. input[name='cf-turnstile-response']).
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": {
"kind": "<kind>",
"website_url": "<website_url>",
"website_key": "<website_key>"
},
"name": "solve_captcha"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| website_url | Yes | ||
| website_key | Yes | ||
| api_key | No | ||
| inject_selector | No | ||
| action | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |