electron_check_deprecated_apis
Scan Electron code for deprecated or removed APIs and return each match with its replacement and the version where it was deprecated or removed. Use it to plan migrations before upgrading Electron.
Instructions
Scan code for usage of deprecated or removed Electron APIs. Returns a list of deprecated APIs found with their replacements and the version they were deprecated/removed in.
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": {
"code": "<code>"
},
"name": "electron_check_deprecated_apis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to scan for deprecated API usage | |
| electronVersion | No | Current Electron major version to determine what's deprecated (default: 45) |