Files / VERSION 1
Fingerprint a file
Calculate a SHA-256 fingerprint and byte count from supplied file content.
RuntimeLocal DockerNetworkNoneRequest / result256 KiB eachProvider costNo API fees; local compute
Give it a task.
Use this MCP call after connecting Piwi. The output below is the result asserted by this tool's tests.
MCP tool call
{
"name": "piwi_run_file_metadata",
"arguments": {
"input": {
"content": "hello"
}
}
}Expected output
{
"sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
"bytes": 5,
"encoding": "utf8"
}Inputs
- content: UTF-8 text or canonical base64
- encoding: utf8 or base64 (default utf8)
Outputs
- sha256
- bytes
- encoding