evaluate_web_task
Run a browser agent on any URL to complete a natural-language task and get a structured evaluation report with screenshots, console errors, network failures, and agent step timeline.
Instructions
Run a browser agent for a natural-language task and return a rich evaluation report.
One-shot evaluator — give it a URL and a task, get back a structured report with screenshots, console errors, network failures, and an agent step timeline. No need to discover/record/replay first.
Args: app_url: The website URL to evaluate task: Natural-language description of what to test (e.g. "Try the signup flow and note UX issues") profile_name: Optional auth profile name for authenticated pages headless: Run browser in headless mode (default: False — shows the browser) max_steps: Maximum agent steps (default: 25) capture: Evidence to capture: "screenshots", "console", "network", "trace" (default: all four) format: Report format: "markdown" (default), "text", or "json" save_as_recorded_flow: If True, promote the evaluation into a recorded flow for regression flow_name: Flow name to use when saving as recorded flow (auto-generated if omitted)
Returns: dict with summary, agent_steps, evidence (console_errors, network_failures, screenshots, trace_path), pass_fail, run_id, and formatted_report
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| format | No | markdown | |
| app_url | Yes | ||
| capture | No | ||
| headless | No | ||
| flow_name | No | ||
| max_steps | No | ||
| profile_name | No | ||
| save_as_recorded_flow | No |