browser_fetch
Make authenticated HTTP requests from inside the page, reusing cookies and session. Returns status, headers, and parsed body while appearing in the network log.
Instructions
Execute an authenticated fetch() request inside the page context. Inherits the page's cookies and session — same-origin requests work automatically, cross-origin requires CORS. Returns status, headers, and parsed body. Appears in browser_debug network log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch (relative or absolute) | |
| body | No | Request body — auto-JSON-encoded if object | |
| parse | No | Response parse mode (default: json, falls back to text on parse error) | |
| method | No | HTTP method (default: GET) | |
| headers | No | Additional request headers (merged over defaults) |