preflight_firmware_upgrade
Runs a read-only preflight before firmware flashing: validates updater, MAC, platform, stop state, and run bit, then creates a 15-minute one-time flashing plan without starting the upgrade.
Instructions
只读预检生成 15 分钟一次性烧录计划,核对原升级器、MAC、平台、停止状态及运行位。旧固件可直接给路径;新编译产物先 register_firmware_build,再给 build_id、firmware_path=""。不开始升级。
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": {
"firmware_path": "<firmware_path>",
"transport": "<transport>"
},
"name": "preflight_firmware_upgrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | COM7 | |
| build_id | No | ||
| transport | Yes | ||
| firmware_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||