File checksum
nas_file_checksumCompute MD5 or SHA-256 checksums for NAS files to verify transfers and file integrity, with per-file timeouts for large files.
Instructions
Compute the MD5 or SHA-256 checksum of files on the NAS, for example to verify a transfer. The NAS reads each whole file, so large files take a while: timeout_seconds applies to each file, and a file that needs longer fails with "context deadline exceeded". The result has items[], one per path; check each for success.
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": {
"algorithm": "<algorithm>",
"paths": "<paths>"
},
"name": "nas_file_checksum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Files to hash. Absolute NAS paths (1 to 20). | |
| algorithm | Yes | Checksum algorithm. | |
| timeout_seconds | No | Time limit in seconds (default 300, max 1800). Raise it for large folders or files; a result cut off by the limit is incomplete. |