dat_browse
Run a browser automation task from a natural language instruction, returning the result and optionally screenshots. Supports sync and async modes.
Instructions
Run a browser automation task on dat.ai. Give a natural language instruction and dat.ai will drive a real browser to complete it. Returns the result and any screenshot URLs. Uses sync mode by default (waits for completion, up to 10 min). Set async=true to get a task_id immediately and poll with dat_browse_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The instruction to execute in the browser, e.g. 'Open https://example.com and summarize the page' | |
| async | No | If true, return a task_id immediately instead of waiting. Poll with dat_browse_status. Default: false | |
| fanout | No | Number of nodes to race the task on (1-10, default 1). Optional. | |
| timeout | No | Task timeout in milliseconds (max 10800000 = 3 hours). Optional. | |
| full_page | No | Used by final_only mode. Capture full scrollable page. Default: true. | |
| country_iso | No | Route to browsing nodes in this country (ISO code, e.g. 'US', 'DE'). Optional. | |
| session_key | No | Group browsing tasks into a shared session. Optional. | |
| screenshots_mode | No | Screenshot capture mode. final_only: one screenshot after completion. every_step: screenshot each step. on_navigation: screenshot on URL change. Default: none (no screenshots). |