hltb_search
Search HowLongToBeat's public game catalogue by title, platform, genre, year, or play-style filters to retrieve paginated completion-time data and review scores.
Instructions
Search HowLongToBeat's public game catalogue. Searches the public HowLongToBeat game catalogue and returns one page of results: total, current page, total pages, page size, and each game's id, name, alias, type, release year, platform, popularity, aggregate review score, the four play-style completion-time aggregates with sample counts, and the public aggregate counters. Mirrors HowLongToBeat's own POST /api/search/site request. The site protects that endpoint with a short-lived token minted by GET /api/search/site/init; this endpoint mints the token with the qualified request profile, uses it immediately and refreshes it once on a 403 (the site's own client behaviour). The token is never logged, persisted or synthesized. All filters are the site's own controls: platform/genre/perspective/flow/year multi-selects with include/exclude modes, sort and length-range categories, hour range, modifiers and the Game Pass toggle. Value spaces are served by hltb_filters. An empty q returns the site's catalogue browse. No user, review, list or account data is returned.
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": "hltb_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text game search terms; empty returns the site's catalogue browse | |
| flow | No | Comma-separated flow values from hltb_filters flows | |
| page | No | 1-based result page | |
| size | No | Results per page, 1-25 | |
| sort | No | Sort category from hltb_filters sort_categories | |
| year | No | Comma-separated release years from hltb_filters years | |
| genre | No | Comma-separated genre values from hltb_filters genres | |
| modifier | No | Modifier from hltb_filters modifiers | |
| platform | No | Comma-separated platform values from hltb_filters platforms | |
| flow_mode | No | include or exclude | |
| game_pass | No | Apply the site's Game Pass toggle | |
| max_hours | No | Optional maximum length in whole hours | |
| min_hours | No | Optional minimum length in whole hours | |
| year_mode | No | include or exclude | |
| genre_mode | No | include or exclude | |
| perspective | No | Comma-separated perspective values from hltb_filters perspectives | |
| platform_mode | No | include or exclude | |
| range_category | No | Length range category from hltb_filters range_categories | |
| perspective_mode | No | include or exclude |