List `window.electronAPI.*` methods
list_electron_api_methodsList all methods on window.electronAPI to identify IPC channels and confirm preload script modifications.
Instructions
Return the names of every method exposed on window.electronAPI in the chosen renderer. Useful to discover IPC channels before calling invoke_electron_api, or to verify a preload change actually exposed a new method.
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": {
"id": "<id>"
},
"name": "list_electron_api_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. | |
| target | No | Target id (default: first page). |