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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tab": "<tab>",
"url": "<url>"
},
"name": "browser_fetch"
}
}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 |