modrinth_file_projects
Resolve a batch of file hashes to the Modrinth projects that contain them in one native POST read and return a map from each requested hash to its project object (id, slug, title, project type and counters). 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.
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_projects"
}
}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). |