Verify Delivery File
verify_delivery_fileConfirm an exported delivery is a non-empty regular file, compute its SHA-256 or SHA-512 checksum, and optionally compare expected size and checksum.
Instructions
Verify that an exported delivery is a non-empty regular file and calculate a SHA-256 or SHA-512 checksum; optionally compare expected size and checksum
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": {
"output_path": "<output_path>"
},
"name": "verify_delivery_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | Full path to the exported delivery file | |
| expected_checksum | No | Optional expected hexadecimal checksum to compare | |
| checksum_algorithm | No | Checksum algorithm (default: sha256) | |
| minimum_size_bytes | No | Minimum acceptable file size in bytes (default: 1) | |
| expected_size_bytes | No | Optional exact expected file size in bytes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |