pilot_set_header
Inject custom HTTP headers into all browser requests. Use for authentication tokens, API keys, or testing header overrides.
Instructions
Set a custom HTTP request header that will be sent with all subsequent requests from the browser. Use when the user wants to add an authorization header, set a custom API key, override the Accept-Language header, or inject any custom header for testing. Sensitive header values (Authorization, Cookie, X-API-Key, etc.) are auto-redacted in the response for security.
Parameters:
name: Header name (e.g., "Authorization", "X-Custom-Header", "Accept-Language")
value: Header value (e.g., "Bearer token123", "en-US")
Returns: Confirmation with the header name and value (sensitive values shown as "****").
Errors: None — any valid header name and value are accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Header name | |
| value | Yes | Header value |