modrinth_file_update
Resolve the latest compatible update for one Modrinth file and return the version object that satisfies the requested loader and game-version filters. Pass the file's hash, optionally its algorithm, and optional loaders and game_versions arrays validated against modrinth_tags; omitted filters keep the site's native behaviour. This is a read-only lookup, never an installation or write.
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_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Required file hash of the file whose compatible update is resolved: 40 hexadecimal SHA-1 or 128 hexadecimal SHA-512 characters. | |
| loaders | No | Optional loader names to filter compatible updates. 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. | |
| game_versions | No | Optional game versions to filter compatible updates. 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). |