Get task type parameters
get_task_parametersFind exactly which fields a CapMonster task type needs from the live OpenAPI spec. Get all parameters, required fields, variant notes, and the expected solution schema to build correct tasks.
Instructions
Return the parameters for a CapMonster task type, from the live OpenAPI spec.
Use after get_supported_tasks() to look up what fields a task needs. Pass either a top-level type name (e.g. 'RecaptchaV2Task', 'TurnstileTask') or a CustomTask class name (e.g. 'DataDome', 'altcha', 'HUNT').
Returns:
all_parameters: every field with its type/description (nested objects like
metadataare expanded).required: the fields the spec marks required.
description: the type's own spec note. READ IT — for several types it is where the spec records that the type has mutually-exclusive VARIANTS and which fields each needs (e.g. Turnstile's
cloudflareTaskType, AWS WAF's challenge/captcha/cookie option-sets). The flatrequiredlist CANNOT express those variants, so it under-reports what a given variant needs.solution: the name of the solution schema this type returns.
⚠️ The flat field list is a starting point, not the whole contract. When
description mentions variants/options/modes — or whenever you are unsure —
confirm the exact per-variant field set and the solution shape against the
worked examples via get_docs before building the task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_type | Yes |