set_extra_headers
Configure extra HTTP headers for subsequent network requests in an Electron app, enabling custom header injection for debugging and request inspection.
Instructions
Set extra HTTP headers for subsequent requests (Network.setExtraHTTPHeaders)
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 | ||
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. |