hn_category
Retrieve stories from Hacker News categories including top, new, best, ask, show, and job. Specify the category and limit results from 1 to 30.
Instructions
Get stories from a specific HN category.
Args: category: One of "top", "new", "best", "ask", "show", "job". limit: Number of stories to return (1-30). Default 10.
Returns: List of story dicts.
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": "hn_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| category | No | top |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |