browser_fetch
Read a URL’s main document through an existing signed-in browser profile in a temporary background tab, then close it. Fetch page text, HTML, or JSON without launching a separate automation browser.
Instructions
Read a URL's main document using the profile's sign-in in a temporary background tab, then close it. Site scripts run and may affect other tabs. status/ok describe HTTP only (unknown=null); readiness/degradation are separate. body is a string. next_cursor reads immutable cache without revisiting; up to 4 captures per connection/profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | HTTP(S), no URL credentials; required unless cursor is supplied. | |
| cursor | No | Continuation accepts only browser_id, cursor and max_chars. | |
| format | No | Default rendered text; html=current DOM (dom=rendered); json=validated JSON. | |
| max_chars | No | Text/HTML page budget; capture_truncated marks source loss. JSON returns whole, ignores this budget, errors above 1M chars. | |
| browser_id | Yes | ||
| timeout_ms | No | Default 15000; total including creation/cleanup, reserving capture time after unmet waits. | |
| wait_until | No | Default load; network_idle waits for load then 500ms without observed requests. Unmet waits return a degraded capture if readable. |