lookup_hash
Identify which package versions a file hash belongs to by accepting MD5, SHA1, SHA256, or SHA512 digests in hex or base64 and returning matching versions.
Instructions
Identify which package versions a file hash belongs to (for example the SHA-256 of a downloaded archive). Accepts hex or base64.
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": {
"hash_type": "<hash_type>",
"hash_value": "<hash_value>"
},
"name": "lookup_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return. | |
| hash_type | Yes | Hash algorithm. | |
| hash_value | Yes | Digest as a hex or base64 string. |