hn_search
Search HackerNews for any topic. Retrieve results with scores, comments, and excerpts from all historical posts.
Instructions
Search HackerNews by keyword using the Algolia search API.
Covers all historical HN content. Find discussions on specific technologies, papers, companies, or events.
Args: params (HnSearchInput): - query (str): Search terms - limit (int): Results (1–20) - days_back (int): Recency window in days - tags (Optional[str]): 'story', 'ask_hn', 'show_hn', or empty
Returns: str: JSON with query, total_found, count, hits[]. Each hit: id, title, url, score, comments, author, posted, hn_link, excerpt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |