modrinth_file_versions
Resolve a batch of file hashes to their Modrinth versions in one native POST read and return a map from each requested hash to its version object (id, project_id, version number, loaders, game versions and file hashes). Send a JSON array of SHA-1 (40 hexadecimal characters) or SHA-512 (128 hexadecimal characters) hashes; an empty array is valid and unknown hashes are omitted. Use modrinth_file_version for a single hash.
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": {
"hashes": "<hashes>"
},
"name": "modrinth_file_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hashes | Yes | Required JSON array of file hashes to resolve (40 hexadecimal SHA-1 or 128 hexadecimal SHA-512 characters). An empty array is valid and returns an empty map. | |
| algorithm | No | Optional hash algorithm, sha1 or sha512; omit it for native auto-detection from the first hash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |