getStories
Fetch Hacker News stories by type (top, new, best, ask, show, job) with customizable limits to streamline content discovery and integration into LLM workflows.
Instructions
Get multiple stories by type (top, new, best, ask, show, job)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | The maximum number of stories to fetch | |
type | Yes | The type of stories to fetch |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 30,
"description": "The maximum number of stories to fetch",
"type": "number"
},
"type": {
"description": "The type of stories to fetch",
"enum": [
"top",
"new",
"best",
"ask",
"show",
"job"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}