modrinth_file_version
Resolve a Modrinth project version from a file hash and return its native public metadata; specify SHA-1 or SHA-512, or let auto-detection handle the algorithm.
Instructions
Resolve a version by file hash. Returns the native public Modrinth metadata for this resource. See the endpoint reference for exact request and response behavior.
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": "<hash>"
},
"name": "modrinth_file_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Native hash | |
| algorithm | No | File-hash algorithm; omitted uses native auto-detection |