Firmware integrity check
firmware_integrity_checkComputes SHA-256 and MD5 digests and file size, verifies them against expected values with match/mismatch reporting, and flags signature-like trailing blocks without claiming key-based verification.
Instructions
Compute SHA-256 and MD5 digests and size of a firmware image, verify them against expected values with match/mismatch reporting, and note the presence of signature-like trailing blocks (e.g. U-Boot FIT / RSA payloads). Presence of a signature block is reported but is NOT claimed as verification without the corresponding keys.
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": {
"filePath": "<filePath>"
},
"name": "firmware_integrity_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the artifact, relative to the authorized workspace root. | |
| expectedMd5 | No | ||
| expectedSize | No | ||
| expectedSha256 | No |