modrinth_search
Search Modrinth's public project catalog and return native search rows (project id, slug, title, description, author, project type, categories, loaders, game versions, download and follow counters, gallery icon) plus offset, limit and total_hits. Use this to find a project id or slug for modrinth_project; facets is a JSON array of OR groups joined by AND, for example [[project_type:mod],[categories:optimization]], validated against the modrinth_tags catalogs, and index, offset and limit are the site's own native order and paging controls.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "modrinth_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Optional native result order: relevance (default), downloads, follows, newest or updated. | |
| limit | No | Optional native result limit from 0 to 100; omit it for the native default of 10. An explicit 0 is a real limit, not the default. | |
| query | No | Optional free-text search text; omit it to list projects under the facet filter. | |
| facets | No | Optional native facet filter as a JSON array of OR groups joined by AND, for example [["project_type:mod"],["categories:optimization"]]. Discover valid field names and catalog values with modrinth_tags. | |
| offset | No | Optional zero-based result offset, at least 0; defaults to 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |