ipc_invoke
Invoke a main-process IPC handle channel or emit an IPC event with arguments to debug Electron inter-process communication; requires inspectMain.
Instructions
Directly invoke a main-process IPC handle channel or emit an IPC event with arguments. Requires inspectMain.
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": {
"channel": "<channel>"
},
"name": "ipc_invoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments to pass to the IPC handle listener | |
| channel | Yes | IPC channel name (e.g. 'get-user-settings') | |
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. |