electron_diagnose_build_error
Diagnose Electron build and packaging errors from electron-builder, forge, or packager output, identifying code signing, native module, ASAR, platform config, and path resolution issues.
Instructions
Diagnose Electron build/packaging errors from electron-builder, electron-forge, or electron-packager output. Identifies common failures: code signing errors, native module rebuild issues, ASAR packaging problems, missing platform-specific configuration, and __dirname path resolution bugs.
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": {
"errorOutput": "<errorOutput>"
},
"name": "electron_diagnose_build_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Target platform. Defaults to 'unknown' (auto-detect). | |
| buildTool | No | Which build tool produced the error. Defaults to 'unknown' (auto-detect). | |
| errorOutput | Yes | The build error output (stderr/stdout) to diagnose |