List a mod's files
list_mod_filesLists a mod's published files, showing file name, size, game versions, and dependency data. Use file name and byte length to identify content packs before treating them as such. Paginated, read-only.
Instructions
List the published files for one mod, paginated. Each file carries its raw releaseType integer, its game versions, file_length_bytes, and its dependency edges with raw relationType integers — none of those integers is mapped to a label, because CurseForge publishes no value table for either. Inspect file_name and file_length_bytes before treating a file as a content pack. Page size is capped at 50; an over-large request is refused rather than clamped. Read-only. v0: all field paths unverified.
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": {
"mod_id": "<mod_id>"
},
"name": "list_mod_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Zero-based offset. index + page_size <= 10000. | |
| mod_id | Yes | CurseForge numeric mod (project) id. Digits only — the allow-list will not match anything else. | |
| page_size | No | At most 50. Over that is refused, not clamped. | |
| game_version | No | Filter to files supporting this game version string. UNVERIFIED (§14.3 U9). |