modrinth_files_update
Resolve the latest compatible update for several Modrinth files in one native POST read and return a map from each requested hash to the version object that satisfies the shared loader and game-version filters. Send hashes plus optional loaders and game_versions arrays; unknown hashes are omitted and an empty hash array is valid.
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_files_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hashes | Yes | Required JSON array of file hashes (40 hexadecimal SHA-1 or 128 hexadecimal SHA-512 characters). An empty array is valid. | |
| loaders | No | Optional loader names applied to every hash. Discover the values with modrinth_tags and type=loader. An explicit empty array stays distinct from omission. | |
| algorithm | No | Optional hash algorithm, sha1 or sha512; omit it for native auto-detection from the first hash. | |
| game_versions | No | Optional game versions applied to every hash. Discover the values with modrinth_tags and type=game_version. An explicit empty array stays distinct from omission. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |