electron_check_deprecated_apis
Scan Electron source code for deprecated or removed APIs and get each finding's replacement plus the version it changed in, so you can update your app before breaking changes hit.
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: 41) |