Set Extra Headers
set_extra_headersAdd custom headers to every outgoing request in a browser tab for authentication, A/B testing flags, or tracing, so agents can control request metadata without changing each call.
Instructions
Inject headers into every outgoing request. Auth, A/B flags, tracing.
Ex: set_extra_headers('t0', {'X-Custom':'v', 'Authorization':'Bearer ...'}) → {"set":["X-Custom","Authorization"]}
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_id": "<tab_id>",
"headers": "<headers>"
},
"name": "set_extra_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | ||
| headers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||