Search Hacker News
hackernews_search_listSearch Hacker News by keyword. Returns a list (use page/pageSize when paginated).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Alias for `query`. Prefer `query`. | |
| url | No | Restrict search to story URLs matching this URL substring. Can omit `query`. | |
| link | No | Alias for `url`. Prefer `url`. | |
| page | No | Zero-based page index (maximum 50 pages, up to 1,000 hits). | |
| path | No | Alias for `url`. Prefer `url`. | |
| sort | No | Ranking mode. Default: `popularity`. | |
| trim | No | Ignored if this tool does not support it. | |
| type | No | Restrict search results to a Hacker News content type. `ask_hn`: Ask HN posts (questions to the community). `show_hn`: Show HN posts (projects/work being shared). `launch_hn`: Launch HN posts (YC-affiliated company launches). Default: `all`. | |
| limit | No | Hits per page. Must be one of 10, 20, 30, 50. Default: 20. Prefer this over `pageSize`. | |
| query | No | Full-text search query. Required unless `frontPageOnly`, `author`, `domain`, or `url` is set. | |
| author | No | Restrict results to items by this Hacker News username. | |
| domain | No | Restrict search to story URLs matching this domain (e.g. example.com). Can omit `query`. | |
| offset | No | Ignored if this tool does not support it. | |
| prefix | No | When true, enable prefix matching for query tokens. | |
| context | Yes | Describe the user's underlying goal in one sentence — not the tool you are calling. | |
| tweetId | No | Alias for `url`. Prefer `url`. | |
| keywords | No | Alias for `query`. Prefer `query`. | |
| pageSize | No | Deprecated alias for `limit`. When both are set, `limit` wins. | |
| tweetUrl | No | Alias for `url`. Prefer `url`. | |
| tweet_id | No | Alias for `url`. Prefer `url`. | |
| dateRange | No | Creation-time window. Default: `all`. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| minPoints | No | Minimum points/score filter. | |
| permalink | No | Alias for `url`. Prefer `url`. | |
| tweet_url | No | Alias for `url`. Prefer `url`. | |
| maxResults | No | Ignored if this tool does not support it. | |
| max_results | No | Ignored if this tool does not support it. | |
| searchAuthor | No | When true, include author username in the searchable fields. | |
| frontPageOnly | No | When true, restrict results to current front-page items. Allows omitting `query`. | |
| typoTolerance | No | Enable typo tolerance. Default: true. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. | |
| searchStoryText | No | Include story/comment text in searchable fields. Default: true. Set false to search title/URL only. |