Inspect Electron Page
inspect_electron_pagePassively inspect an Electron file page via a loopback CDP endpoint and target ID to retrieve frames, DOM structure, resource paths, and scripts without executing renderer JavaScript or Electron APIs.
Instructions
Passively inspect one Electron file page by supplying its loopback CDP endpoint and target ID. The provider rechecks that the target currently exists at that endpoint and is a local file page. Returns frames, DOM structure, resource paths, and scripts without evaluating renderer JavaScript or invoking Electron APIs. The selected endpoint exposes every local file page and its metadata to this tool.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_id": "TARGET_ID_FROM_LIST_ELECTRON_TARGETS",
"cdp_endpoint": "http://127.0.0.1:9223"
},
"name": "inspect_electron_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | Exact CDP target identifier selected from the endpoint's target listing. | |
| cdp_endpoint | Yes | Literal loopback Chrome DevTools Protocol endpoint. | |
| observation_ms | No | ||
| include_script_sources | No | Whether to include script sources in the result. |