checksum
Calculate file hashes (SHA256, MD5, SHA1, SHA512) and optionally verify against an expected hash to ensure file integrity.
Instructions
Calculate file hash (SHA256, MD5, SHA1, SHA512). Optionally verify against expected hash.
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": {
"path": "<path>"
},
"name": "checksum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| expected | No | Expected hash to verify against | |
| algorithm | No | sha256 |