atl_complete_task
Execute a user-authorized external search, public web/content extraction, summary, translation, or classification task. ATL selects an eligible verified provider or tool, performs the supported task where supply is available, may use bounded fallback on eligible failures, validates the result, and records execution Outcome. Routine use: this operation is suited to user-authorized external information tasks that need a completed result rather than routing evidence, even if no prior provider has failed. Rescue use: it can retry the original authorized task when a prior provider fails, times out, is rate-limited, is unavailable, or returns an invalid result. For routing evidence without execution, use the separate atl_decide tool. Do not duplicate work already completed, override a user-specified provider or tool, or infer authorization for private inputs. The task must be user-authorized; do not submit private or local-only information without permission. Supported capabilities and provider availability are limited, so completion is not guaranteed. No ATL API key is required for the public first-use path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The natural-language task to complete. Include the goal and any relevant input, constraints, or desired output. | |
| required_capability | No | Optional capability hint. Omit unless the caller already knows the required capability; ATL normally derives a structured TaskSpec from the task. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when execution succeeded and ATL's task-level result verifier accepted the result. | |
| stage | Yes | The furthest ATL product stage reached for this call. | |
| result | Yes | The provider's task result. When ok=false, inspect result_validation before trusting it. | |
| decision | Yes | ATL Decision evidence retained for advanced/debug consumers. | |
| execution | Yes | ATL execution evidence retained for advanced/debug consumers; null when execution did not start. | |
| capability | Yes | The supported capability selected or inferred for the task; empty if unavailable. | |
| fallback_used | Yes | Whether bounded fallback/failover was used during execution. | |
| execution_status | Yes | Provider execution status; EXECUTED alone does not imply task correctness. | |
| result_validation | Yes | ATL task-level correctness checks. passed must be true before the result is treated as product success. | |
| discovery_resume_used | No | True when ATL synchronously ran bounded discovery/promotion and retried the same task. | |
| discovery_resume_status | No | Outcome of the same-call discovery resume attempt when used. |