hash_evidence_file
Compute MD5 and SHA-256 hashes for files or raw disk images in read-only mode, optionally verify an expected hash, and return six-field provenance for forensic evidence.
Instructions
Compute and optionally verify MD5 and SHA-256 hashes of a file or raw disk image in strict read-only mode, returning mandatory 6-field provenance.
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": {
"file_path": "<file_path>",
"case_id": "<case_id>",
"source_id": "<source_id>"
},
"name": "hash_evidence_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | ||
| file_path | Yes | ||
| source_id | Yes | ||
| expected_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| md5 | Yes | ||
| sha256 | Yes | ||
| verified | No | ||
| provenance | Yes | ||
| size_bytes | Yes | ||
| expected_hash | No |