set_extra_headers
Configure extra HTTP headers for subsequent requests in a running Electron app, enabling testing of authentication, routing, and header-dependent behavior.
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. |