From 8d7a067c8d82a592bfb3dcacf05305c39550cbc6 Mon Sep 17 00:00:00 2001 From: astarring Date: Wed, 9 Sep 2026 02:35:42 +0800 Subject: feat: add per-tab request headers (#30) Expose explicit set and clear tools so environment-routed pages can be opened without leaking header values or carrying headers across unrelated browsing. Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com Co-authored-by: zouzhigang --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index e4e89d7..60d7d7f 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,12 @@ Both run in isolated tabs and never disturb your current page. |---|---| | `browser_network_requests` | Requests captured on the current tab since attach. Filter by URL, method, status, resource type, or recency; optional response bodies. | | `browser_http_get` | Plain GET outside the browser. Much faster than navigate-then-read for JSON APIs — but no JS rendering. | +| `browser_set_headers` | Set extra HTTP request headers on the current owned tab. Values are not echoed in output. | +| `browser_clear_headers` | Clear extra HTTP request headers from the current owned tab. | + +Extra headers persist for subsequent document, subresource, fetch, and XHR requests until cleared or +the tab closes. Create or select an owned tab before setting them, and clear them before switching +tabs or navigating the tab to another origin. ### Files and viewport -- cgit v1.2.3