esp32_generate_ota_image
Packages built firmware.bin into an OTA-ready image and returns its path, size, MD5, and SHA-256 so you can verify and deploy over-the-air updates.
Instructions
Package the built firmware.bin for OTA deployment — returns path, size, MD5, and SHA-256
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "esp32_generate_ota_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Directory to copy the OTA image into (optional) | |
| environment | No | PlatformIO environment whose firmware to package (optional, auto-detected) | |
| projectPath | No | Path to PlatformIO project (optional) |