modrinth_file_version
Resolve one Modrinth file hash to the version that contains it and return that version's native object with its project id, version number, loaders, game versions and file hashes. Pass a SHA-1 (40 hexadecimal characters) or SHA-512 (128 hexadecimal characters) hash and optionally its algorithm; omit algorithm for native auto-detection. An unknown hash returns 404.
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 | Required file hash: 40 hexadecimal characters for SHA-1 or 128 for SHA-512. | |
| algorithm | No | Optional hash algorithm, sha1 or sha512; omit it for native auto-detection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |