set_extra_headers
Add custom headers (e.g., API keys, tenant IDs) to all outgoing requests on the current tab, or clear headers by passing an empty object.
Instructions
Add headers to every outgoing request on the current tab.
Useful for API keys, tenant overrides, tracing ids. Pass an empty dict to clear.
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": {
"headers": "<headers>"
},
"name": "set_extra_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |