browser_fetch
Make authenticated HTTP requests through an open browser tab's session, inheriting cookies and auth tokens to fetch protected resources.
Instructions
Make an authenticated HTTP request through a browser tab's session. Runs fetch() inside the page context of a tab matching the given domain, inheriting all cookies and auth tokens. Returns the response body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | Tab to use by URL or title substring (e.g. 'outlook', 'github.com'). The tab must be open and logged in. | |
| url | Yes | URL to fetch | |
| body | No | Request body (for POST/PUT/PATCH). Will be sent as-is. | |
| method | No | HTTP method (default: GET) | |
| headers | No | Additional request headers as key-value pairs |