auth_capture
Intercept network requests matching a URL pattern to capture authentication headers (e.g., Authorization, Cookie) from browser memory.
Instructions
⭐ Intercept the next N requests matching a URL pattern and return their headers (Authorization, Cookie, X-CSRF-*, etc.) — useful for SPAs that hold bearer tokens in JS memory and never write them to localStorage.
Pattern: substring match on URL (case-sensitive). For regex use
network_get instead.
Args:
filter_url_pattern: e.g. "/api/" or "graphql"
count: stop capturing after this many matches (default 1)
timeout: max seconds to wait (default 10)
include_response_headers: also wait for + return response headers
Returns JSON array of {url, method, request_headers, request_body,
[response_headers, status]}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_url_pattern | Yes | ||
| count | No | ||
| timeout | No | ||
| include_response_headers | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |